Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4bbd250

Browse files
committed
Use sequential parsing of sources in PC
1 parent 32e2fc5 commit 4bbd250

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/interactive/scala/tools/nsc/interactive/Global.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,6 @@ class Global(settings: Settings, _reporter: Reporter, projectName: String = "")
299299
def isOutOfDate: Boolean = outOfDate
300300

301301
def demandNewCompilerRun() = {
302-
//if (!lastWasReload) allSources.foreach(getUnit(_).foreach(reset(_)))
303302
if (outOfDate) throw new FreshRunReq // cancel background compile
304303
else outOfDate = true // proceed normally and enable new background compile
305304
}

src/interactive/scala/tools/nsc/interactive/tests/core/AskCommand.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ trait AskParse extends AskCommand {
5454
* otherwise, parser progress update will run the next job.
5555
*/
5656
def askParse(sources: Seq[SourceFile]): Unit =
57-
sources.map(askParse(_)).foreach(_.get)
58-
59-
def askParse2(sources: Seq[SourceFile]): Unit =
6057
for (source <- sources) {
6158
val _ = askParse(source).get
6259
}

0 commit comments

Comments
 (0)