From f121d8a53cb91451e3635711887d7992f3e28d08 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 19 Jun 2015 14:54:03 +0200 Subject: Fix oversight causing a type error on build. --- src/dotty/tools/dotc/typer/ReTyper.scala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/dotty/tools/dotc/typer/ReTyper.scala') diff --git a/src/dotty/tools/dotc/typer/ReTyper.scala b/src/dotty/tools/dotc/typer/ReTyper.scala index d3a5fd05f..f4e4f52b9 100644 --- a/src/dotty/tools/dotc/typer/ReTyper.scala +++ b/src/dotty/tools/dotc/typer/ReTyper.scala @@ -72,9 +72,7 @@ class ReTyper extends Typer { override def tryInsertApplyOrImplicit(tree: Tree, pt: ProtoType)(fallBack: (Tree, TyperState) => Tree)(implicit ctx: Context): Tree = fallBack(tree, ctx.typerState) - override def addTypedModifiersAnnotations(mdef: untpd.MemberDef, sym: Symbol)(implicit ctx: Context): Unit = - () // was: typedModifiers(Modifiers(sym), sym) - // but annotations are not transformed after typer, so no use to check them. + override def completeAnnotations(mdef: untpd.MemberDef, sym: Symbol)(implicit ctx: Context): Unit = () override def ensureConstrCall(cls: ClassSymbol, parents: List[Tree])(implicit ctx: Context): List[Tree] = parents -- cgit v1.2.3