diff options
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index 3f37c41f5..d5ccfb74a 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -991,7 +991,8 @@ object SymDenotations { if (file != null) (s" in $file", file.toString) else ("", "the signature") cctx.error( - s"""|bad symbolic reference. A signature$location refers to ${cctx.fresh.withDebug.show(denot.name)} + s"""|bad symbolic reference. A signature$location refers to + |${cctx.fresh.withSetting(cctx.settings.debugNames, true).nameString(denot.name)} |in ${denot.owner.showKind} ${denot.owner.showFullName} which is not available. |It may be completely missing from the current classpath, or the version on |the classpath might be incompatible with the version used when compiling $src.""".stripMargin) |