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 d805a33940..4d282a4e7d 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
@@ -3695,7 +3695,7 @@ trait Typers extends Modes {
log(context.imports)//debug
}
if (inaccessibleSym eq NoSymbol) {
- error(tree.pos, "not found: "+decodeWithNamespace(name))
+ error(tree.pos, "not found: "+decodeWithKind(name, context.owner))
}
else accessError(
tree, inaccessibleSym, context.enclClass.owner.thisType,