diff options
author | Martin Odersky <odersky@gmail.com> | 2013-03-23 12:02:32 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-03-23 12:02:32 +0100 |
commit | f73792d9c6a41c692cc689c52e481e15120bccc4 (patch) | |
tree | 683c0e622164f447430700505347ee4fbec31fee /src/dotty/tools/dotc/core/SymDenotations.scala | |
parent | b440606b0f0d1772d8a1c3bc1c36b3aa3cb576b5 (diff) | |
download | dotty-f73792d9c6a41c692cc689c52e481e15120bccc4.tar.gz dotty-f73792d9c6a41c692cc689c52e481e15120bccc4.tar.bz2 dotty-f73792d9c6a41c692cc689c52e481e15120bccc4.zip |
More fixes to classfile reading.
Most important one: Getting equality of NamedTypes right.
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index c973fea72..7b4f215b5 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -1015,10 +1015,10 @@ object SymDenotations { val (location, src) = if (file != null) (s" in $file", file.toString) else ("", "the signature") + val name = cctx.fresh.withSetting(cctx.settings.debugNames, true).nameString(denot.name) cctx.error( - 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. + s"""|bad symbolic reference. A signature$location + |refers to $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) if (cctx.debug) throw new Error() |