summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Typers.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-08-04 02:14:06 +0000
committerPaul Phillips <paulp@improving.org>2011-08-04 02:14:06 +0000
commit9a86215c18a4eacd2ee1218fa01f458e415a8e7f (patch)
tree30227c6424a7857b01a61c59efdd45856b69badb /src/compiler/scala/tools/nsc/typechecker/Typers.scala
parent0dda8885a980e3796ea85e32161383c6f8f5613e (diff)
downloadscala-9a86215c18a4eacd2ee1218fa01f458e415a8e7f.tar.gz
scala-9a86215c18a4eacd2ee1218fa01f458e415a8e7f.tar.bz2
scala-9a86215c18a4eacd2ee1218fa01f458e415a8e7f.zip
Cleanups in Namers and AddInterfaces emerging f...
Cleanups in Namers and AddInterfaces emerging from bugfixing attempts and comprehension pursuits. I appear to have accidentally fixed at least one bug, as there are new (correct) warnings when building the compiler involving permanently hidden imports. No review.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Typers.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Typers.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
index e0639cb6cf..d8c09cc685 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
@@ -3632,7 +3632,7 @@ trait Typers extends Modes with Adaptations {
return makeErrorTree
if (!qual.tpe.widen.isErroneous)
- notAMember(tree, qual, name)
+ notAMemberError(tree.pos, qual, name)
if (forInteractive) makeErrorTree else setError(tree)
} else {