diff options
author | Martin Odersky <odersky@gmail.com> | 2015-06-19 14:54:03 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-06-19 14:54:03 +0200 |
commit | f121d8a53cb91451e3635711887d7992f3e28d08 (patch) | |
tree | e6f5dfaf61029e9201e736e48bd9dd76bea6b391 /src | |
parent | abbc707f3aafad5e2f7bf4be486e6783da31508e (diff) | |
download | dotty-f121d8a53cb91451e3635711887d7992f3e28d08.tar.gz dotty-f121d8a53cb91451e3635711887d7992f3e28d08.tar.bz2 dotty-f121d8a53cb91451e3635711887d7992f3e28d08.zip |
Fix oversight causing a type error on build.
Diffstat (limited to 'src')
-rw-r--r-- | src/dotty/tools/dotc/typer/ReTyper.scala | 4 |
1 files changed, 1 insertions, 3 deletions
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 |