summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/interactive/CompilerControl.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2011-04-12 14:42:10 +0000
committerIulian Dragos <jaguarul@gmail.com>2011-04-12 14:42:10 +0000
commitb6ab8af4f23be72a84e5daea153b8363116408b0 (patch)
tree8c06e008c2742326d457d8ba1434388efe87ff01 /src/compiler/scala/tools/nsc/interactive/CompilerControl.scala
parentc6040a7bc62f90f6aa7c361e58eacb3eed07d034 (diff)
downloadscala-b6ab8af4f23be72a84e5daea153b8363116408b0.tar.gz
scala-b6ab8af4f23be72a84e5daea153b8363116408b0.tar.bz2
scala-b6ab8af4f23be72a84e5daea153b8363116408b0.zip
Made the 'onCompilerThread' flag a field, corre...
Made the 'onCompilerThread' flag a field, correctly indicating wether the work item was asked from the compiler thread or not. Fixes issues in the IDE. no review.
Diffstat (limited to 'src/compiler/scala/tools/nsc/interactive/CompilerControl.scala')
-rw-r--r--src/compiler/scala/tools/nsc/interactive/CompilerControl.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/interactive/CompilerControl.scala b/src/compiler/scala/tools/nsc/interactive/CompilerControl.scala
index 8ec93d70e3..64178b5eac 100644
--- a/src/compiler/scala/tools/nsc/interactive/CompilerControl.scala
+++ b/src/compiler/scala/tools/nsc/interactive/CompilerControl.scala
@@ -253,7 +253,7 @@ trait CompilerControl { self: Global =>
// items that get sent to scheduler
abstract class WorkItem extends (() => Unit) {
- def onCompilerThread = self.onCompilerThread
+ val onCompilerThread = self.onCompilerThread
}
case class ReloadItem(sources: List[SourceFile], response: Response[Unit]) extends WorkItem {