diff options
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Typers.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Typers.scala | 2 |
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 { |