Skip to content

Commit 3402a29

Browse files
committed
Patch pickling failure
1 parent 5cbb512 commit 3402a29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/repl/ReplCompiler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ class ReplCompiler extends Compiler {
266266
if (errorsAllowed || !ctx.reporter.hasErrors)
267267
unwrapped(unit.tpdTree, src)
268268
else
269-
ctx.reporter.removeBufferedMessages.errors
269+
ctx.reporter.removeBufferedMessages.errors[tpd.ValDef] // FIXME removing this type gives a pickling error in `sbt dotty-bootstrapped/testCompilation` for BootstrappedOnlyCompilationTests.picklingWithCompiler
270270
}
271271
}
272272
}

0 commit comments

Comments
 (0)