diff options
author | Martin Odersky <odersky@gmail.com> | 2015-07-01 16:09:09 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-07-06 17:46:46 +0200 |
commit | ab8e63a2a94201a8f23193271e58d62371bfc7b9 (patch) | |
tree | 31d6ccc661462765e0c83e8bc91dd7b37def8288 /src/dotty/tools/dotc/Resident.scala | |
parent | fd1a732273ce57d8558a5dc81920dc1833d9d9ec (diff) | |
download | dotty-ab8e63a2a94201a8f23193271e58d62371bfc7b9.tar.gz dotty-ab8e63a2a94201a8f23193271e58d62371bfc7b9.tar.bz2 dotty-ab8e63a2a94201a8f23193271e58d62371bfc7b9.zip |
Mark gloabl entry point @unshared
The resident compiler is not supposed to be called from multiple
threads; mark as unshared to avoid spurious re-entrancy errors.
Diffstat (limited to 'src/dotty/tools/dotc/Resident.scala')
-rw-r--r-- | src/dotty/tools/dotc/Resident.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/Resident.scala b/src/dotty/tools/dotc/Resident.scala index d671ea259..b683bc642 100644 --- a/src/dotty/tools/dotc/Resident.scala +++ b/src/dotty/tools/dotc/Resident.scala @@ -23,7 +23,7 @@ import scala.annotation.tailrec */ object Resident extends Driver { - object residentCompiler extends Compiler + @unshared object residentCompiler extends Compiler override def newCompiler(): Compiler = ??? |