aboutsummaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-11-14 23:44:56 +0100
committerGuillaume Martres <smarter@ubuntu.com>2016-11-22 01:35:08 +0100
commit717264b8940a337b123ee42e09c9b02a2a5c3b11 (patch)
treee6751ecd0031a988ea930b46962548eb78984f13 /compiler
parenta7d25b9eb8f4d6eca84bdeb32227e427a9de5072 (diff)
downloaddotty-717264b8940a337b123ee42e09c9b02a2a5c3b11.tar.gz
dotty-717264b8940a337b123ee42e09c9b02a2a5c3b11.tar.bz2
dotty-717264b8940a337b123ee42e09c9b02a2a5c3b11.zip
-Ytest-pickler: avoid forcing anything when there's a difference
This might cause a stale symbol exception and make it harder to find the source of the problem.
Diffstat (limited to 'compiler')
-rw-r--r--compiler/src/dotty/tools/dotc/transform/Pickler.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/transform/Pickler.scala b/compiler/src/dotty/tools/dotc/transform/Pickler.scala
index 61c3ca5de..bf37067b1 100644
--- a/compiler/src/dotty/tools/dotc/transform/Pickler.scala
+++ b/compiler/src/dotty/tools/dotc/transform/Pickler.scala
@@ -101,7 +101,7 @@ class Pickler extends Phase {
if (previous != unpickled) {
output("before-pickling.txt", previous)
output("after-pickling.txt", unpickled)
- ctx.error(i"""pickling difference for ${cls.fullName} in ${cls.sourceFile}, for details:
+ ctx.error(s"""pickling difference for ${cls} in ${cls.sourceFile}, for details:
|
| diff before-pickling.txt after-pickling.txt""")
}