summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Typers.scala
diff options
context:
space:
mode:
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 {