diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2011-04-12 14:42:10 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2011-04-12 14:42:10 +0000 |
commit | b6ab8af4f23be72a84e5daea153b8363116408b0 (patch) | |
tree | 8c06e008c2742326d457d8ba1434388efe87ff01 | |
parent | c6040a7bc62f90f6aa7c361e58eacb3eed07d034 (diff) | |
download | scala-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.
-rw-r--r-- | src/compiler/scala/tools/nsc/interactive/CompilerControl.scala | 2 |
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 { |