aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/typer/Typer.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-09-27 16:07:56 +0200
committerFelix Mulder <felix.mulder@gmail.com>2016-10-10 13:25:35 +0200
commitf5ad8492d076051c8805370c05610d8294ccb241 (patch)
treec8d2aa477d5927bfb14c1e8f6c0417a6d60cab24 /src/dotty/tools/dotc/typer/Typer.scala
parent24bcdfdcdaa04e3cf2aa3c7289415f8a98d3d376 (diff)
downloaddotty-f5ad8492d076051c8805370c05610d8294ccb241.tar.gz
dotty-f5ad8492d076051c8805370c05610d8294ccb241.tar.bz2
dotty-f5ad8492d076051c8805370c05610d8294ccb241.zip
Fix reporting of ErrorTypes in highlighted segments
Diffstat (limited to 'src/dotty/tools/dotc/typer/Typer.scala')
-rw-r--r--src/dotty/tools/dotc/typer/Typer.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/typer/Typer.scala b/src/dotty/tools/dotc/typer/Typer.scala
index 0cc04613a..a4dc2f871 100644
--- a/src/dotty/tools/dotc/typer/Typer.scala
+++ b/src/dotty/tools/dotc/typer/Typer.scala
@@ -331,7 +331,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
if (rawType.exists)
ensureAccessible(rawType, superAccess = false, tree.pos)
else {
- error(new MissingIdent(tree, kind, name), tree.pos)
+ error(new MissingIdent(tree, kind, name.show), tree.pos)
ErrorType
}