diff options
author | Paul Phillips <paulp@improving.org> | 2012-09-08 14:44:21 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-09-12 01:01:27 -0700 |
commit | a2c870569c124cbf090f7c85cea3269d95ff4170 (patch) | |
tree | 00be481ca16caa3971ac093aa74d5305e62d3c79 /src | |
parent | ea651e6fe187920d207aa5fe3c645d294e72e627 (diff) | |
download | scala-a2c870569c124cbf090f7c85cea3269d95ff4170.tar.gz scala-a2c870569c124cbf090f7c85cea3269d95ff4170.tar.bz2 scala-a2c870569c124cbf090f7c85cea3269d95ff4170.zip |
Fix for SI-6340, error message regression.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Namers.scala | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Namers.scala b/src/compiler/scala/tools/nsc/typechecker/Namers.scala index 62f01b8afa..161df00220 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Namers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Namers.scala @@ -496,7 +496,6 @@ trait Namers extends MethodSynthesis { // for Java code importing Scala objects if (!nme.isModuleName(from) || isValid(nme.stripModuleSuffix(from))) { typer.TyperErrorGen.NotAMemberError(tree, expr, from) - typer.infer.setError(tree) } } // Setting the position at the import means that if there is |