Skip to content

Commit f121d8a

Browse files
committed
Fix oversight causing a type error on build.
1 parent abbc707 commit f121d8a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/dotty/tools/dotc/typer/ReTyper.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ class ReTyper extends Typer {
7272
override def tryInsertApplyOrImplicit(tree: Tree, pt: ProtoType)(fallBack: (Tree, TyperState) => Tree)(implicit ctx: Context): Tree =
7373
fallBack(tree, ctx.typerState)
7474

75-
override def addTypedModifiersAnnotations(mdef: untpd.MemberDef, sym: Symbol)(implicit ctx: Context): Unit =
76-
() // was: typedModifiers(Modifiers(sym), sym)
77-
// but annotations are not transformed after typer, so no use to check them.
75+
override def completeAnnotations(mdef: untpd.MemberDef, sym: Symbol)(implicit ctx: Context): Unit = ()
7876

7977
override def ensureConstrCall(cls: ClassSymbol, parents: List[Tree])(implicit ctx: Context): List[Tree] =
8078
parents

0 commit comments

Comments
 (0)