We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc2717c commit bb69949Copy full SHA for bb69949
compiler/src/dotty/tools/repl/ReplCompiler.scala
@@ -272,7 +272,7 @@ class ReplCompiler extends Compiler {
272
if (errorsAllowed || !ctx.reporter.hasErrors)
273
unwrapped(unit.tpdTree, src)
274
else
275
- ctx.reporter.removeBufferedMessages.errors
+ ctx.reporter.removeBufferedMessages.errors[tpd.ValDef] // Workaround #4988
276
}
277
278
0 commit comments