Skip to content

Commit b055bc4

Browse files
committed
Workaround #4709
1 parent 5af8f55 commit b055bc4

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
@@ -218,7 +218,7 @@ class ReplCompiler(val directory: AbstractFile) extends Compiler {
218218

219219

220220
val src = new SourceFile("<typecheck>", expr)
221-
implicit val ctx = state.context.fresh
221+
implicit val ctx: Context = state.context.fresh
222222
.setReporter(newStoreReporter)
223223
.setSetting(state.context.settings.YstopAfter, List("frontend"))
224224

0 commit comments

Comments
 (0)