aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Resident.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-07-06 18:23:53 +0200
committerMartin Odersky <odersky@gmail.com>2015-07-06 18:23:53 +0200
commitc7cc6d851b660c97e80cda806bf5366200c8836b (patch)
treea47d4b7f7ff90ccf1223450377d84169fd31ae14 /src/dotty/tools/dotc/Resident.scala
parente32448cea1a5c67f71cf6578d962aec4f4ccf7d1 (diff)
downloaddotty-c7cc6d851b660c97e80cda806bf5366200c8836b.tar.gz
dotty-c7cc6d851b660c97e80cda806bf5366200c8836b.tar.bz2
dotty-c7cc6d851b660c97e80cda806bf5366200c8836b.zip
Make Resident compiler a class.
Avoids the need of an @unshared annotation. For now I leave the annotation in, maybe it will be useful later.
Diffstat (limited to 'src/dotty/tools/dotc/Resident.scala')
-rw-r--r--src/dotty/tools/dotc/Resident.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/Resident.scala b/src/dotty/tools/dotc/Resident.scala
index b683bc642..9578e7d2c 100644
--- a/src/dotty/tools/dotc/Resident.scala
+++ b/src/dotty/tools/dotc/Resident.scala
@@ -21,9 +21,9 @@ import scala.annotation.tailrec
*
* dotc> :q // quit
*/
-object Resident extends Driver {
+class Resident extends Driver {
- @unshared object residentCompiler extends Compiler
+ object residentCompiler extends Compiler
override def newCompiler(): Compiler = ???