diff options
-rw-r--r-- | src/compiler/scala/tools/nsc/interactive/Global.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/interactive/Global.scala b/src/compiler/scala/tools/nsc/interactive/Global.scala index 5d400ed56c..e4befdc1dd 100644 --- a/src/compiler/scala/tools/nsc/interactive/Global.scala +++ b/src/compiler/scala/tools/nsc/interactive/Global.scala @@ -328,6 +328,7 @@ self => allSources = allSources filter (s => unitOfFile contains (s.file)) for (s <- allSources; unit <- getUnit(s)) { + pollForWork(NoPosition) if (!unit.isUpToDate && unit.status != JustParsed) reset(unit) // reparse previously typechecked units. if (unit.status == NotLoaded) parseAndEnter(unit) } |