diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2010-06-11 14:01:22 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2010-06-11 14:01:22 +0000 |
commit | 3c85de708d2acd58acaa96429cd78ec97d6a075e (patch) | |
tree | a8591339ef74d4752ed0d93e92186eecae70e3a6 /src | |
parent | afe4edad3cb693b76bd3ff8fd81244309e578e87 (diff) | |
download | scala-3c85de708d2acd58acaa96429cd78ec97d6a075e.tar.gz scala-3c85de708d2acd58acaa96429cd78ec97d6a075e.tar.bz2 scala-3c85de708d2acd58acaa96429cd78ec97d6a075e.zip |
Removed bogus typing.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/SuperAccessors.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/SuperAccessors.scala b/src/compiler/scala/tools/nsc/typechecker/SuperAccessors.scala index 82cfac5ad8..ea2cfd6204 100644 --- a/src/compiler/scala/tools/nsc/typechecker/SuperAccessors.scala +++ b/src/compiler/scala/tools/nsc/typechecker/SuperAccessors.scala @@ -432,7 +432,7 @@ abstract class SuperAccessors extends transform.Transform with transform.TypingT if (host.thisSym.tpe.typeSymbol.hasFlag(JAVA)) errorRestriction("%s accesses protected %s from self type %s.".format(currentOwner.enclClass, sym, host.thisSym.tpe)) false - } else if (host.isTrait && sym.hasFlag(JAVA)) { vm + } else if (host.isTrait && sym.hasFlag(JAVA)) { errorRestriction(("%s accesses protected %s inside a concrete trait method. " + "Add an accessor in a class extending %s to work around this bug.").format(currentOwner.enclClass, sym, sym.enclClass)) false |