@@ -49,7 +49,7 @@ object Contexts {
4949 private val (printerFnLoc, store3) = store2.newLocation[Context => Printer ](new RefinedPrinter (_))
5050 private val (settingsStateLoc, store4) = store3.newLocation[SettingsState ]()
5151 private val (compilationUnitLoc, store5) = store4.newLocation[CompilationUnit ]()
52- private val (runLoc, store6) = store5.newLocation[Run ]()
52+ private val (runLoc, store6) = store5.newLocation[Run | Null ]()
5353 private val (profilerLoc, store7) = store6.newLocation[Profiler ]()
5454 private val (notNullInfosLoc, store8) = store7.newLocation[List [NotNullInfo ]]()
5555 private val (importInfoLoc, store9) = store8.newLocation[ImportInfo ]()
@@ -227,7 +227,7 @@ object Contexts {
227227 def compilationUnit : CompilationUnit = store(compilationUnitLoc)
228228
229229 /** The current compiler-run */
230- def run : Run = store(runLoc)
230+ def run : Run | Null = store(runLoc)
231231
232232 /** The current compiler-run profiler */
233233 def profiler : Profiler = store(profilerLoc)
@@ -655,7 +655,7 @@ object Contexts {
655655 def setSbtCallback (callback : AnalysisCallback ): this .type = updateStore(sbtCallbackLoc, callback)
656656 def setPrinterFn (printer : Context => Printer ): this .type = updateStore(printerFnLoc, printer)
657657 def setSettings (settingsState : SettingsState ): this .type = updateStore(settingsStateLoc, settingsState)
658- def setRun (run : Run ): this .type = updateStore(runLoc, run)
658+ def setRun (run : Run | Null ): this .type = updateStore(runLoc, run)
659659 def setProfiler (profiler : Profiler ): this .type = updateStore(profilerLoc, profiler)
660660 def setNotNullInfos (notNullInfos : List [NotNullInfo ]): this .type = updateStore(notNullInfosLoc, notNullInfos)
661661 def setImportInfo (importInfo : ImportInfo ): this .type =
0 commit comments