Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasstucki committed Feb 17, 2022
1 parent a0b4ea0 commit 8bc0c20
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compiler/src/scala/quoted/runtime/impl/QuotesImpl.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2469,8 +2469,7 @@ class QuotesImpl private (using val ctx: Context) extends Quotes, QuoteUnpickler
dotc.core.Scopes.newScope, // TODO remove from parameters of newNormalizedClassSymbol
selfInfo.getOrElse(Types.NoType),
dotc.core.Symbols.NoSymbol)
val ctrTpe = Types.MethodType(Nil)(_ => Nil, _ => cls.typeRef)
cls.enter(dotc.core.Symbols.newSymbol(cls, nme.CONSTRUCTOR, dotc.core.Flags.Method, ctrTpe, noSymbol))
cls.enter(dotc.core.Symbols.newConstructor(cls, dotc.core.Flags.Synthetic, Nil, Nil))
cls

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

0 comments on commit 8bc0c20

Please sign in to comment.