Skip to content

Commit 1b09bff

Browse files
committed
-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.
1 parent e77868c commit 1b09bff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/Pickler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class Pickler extends Phase {
9393
if (previous != unpickled) {
9494
output("before-pickling.txt", previous)
9595
output("after-pickling.txt", unpickled)
96-
ctx.error(i"""pickling difference for ${cls.fullName} in ${cls.sourceFile}, for details:
96+
ctx.error(s"""pickling difference for ${cls} in ${cls.sourceFile}, for details:
9797
|
9898
| diff before-pickling.txt after-pickling.txt""")
9999
}

0 commit comments

Comments
 (0)