Skip to content

Commit 8bc0c20

Browse files
committed
wip
1 parent a0b4ea0 commit 8bc0c20

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/src/scala/quoted/runtime/impl/QuotesImpl.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2469,8 +2469,7 @@ class QuotesImpl private (using val ctx: Context) extends Quotes, QuoteUnpickler
24692469
dotc.core.Scopes.newScope, // TODO remove from parameters of newNormalizedClassSymbol
24702470
selfInfo.getOrElse(Types.NoType),
24712471
dotc.core.Symbols.NoSymbol)
2472-
val ctrTpe = Types.MethodType(Nil)(_ => Nil, _ => cls.typeRef)
2473-
cls.enter(dotc.core.Symbols.newSymbol(cls, nme.CONSTRUCTOR, dotc.core.Flags.Method, ctrTpe, noSymbol))
2472+
cls.enter(dotc.core.Symbols.newConstructor(cls, dotc.core.Flags.Synthetic, Nil, Nil))
24742473
cls
24752474

24762475
def newMethod(owner: Symbol, name: String, tpe: TypeRepr): Symbol =

0 commit comments

Comments
 (0)