From e372dc07675e31159dcd2989dcd99d2ead53948a Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 26 Jan 2011 04:01:15 +0000 Subject: Hey neat, the -Xcheckinit bot found a bug. bug. I think this will fix it. No review. --- src/compiler/scala/tools/nsc/interactive/Global.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/scala/tools/nsc/interactive/Global.scala b/src/compiler/scala/tools/nsc/interactive/Global.scala index d43f676679..b7f95b2132 100644 --- a/src/compiler/scala/tools/nsc/interactive/Global.scala +++ b/src/compiler/scala/tools/nsc/interactive/Global.scala @@ -303,11 +303,11 @@ self => // ----------------- The Background Runner Thread ----------------------- + private var threadId = 0 + /** The current presentation compiler runner */ @volatile protected[interactive] var compileRunner = newRunnerThread() - private var threadId = 0 - /** Create a new presentation compiler runner. */ def newRunnerThread(): Thread = { -- cgit v1.2.3