From c7cc6d851b660c97e80cda806bf5366200c8836b Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 6 Jul 2015 18:23:53 +0200 Subject: 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. --- src/dotty/tools/dotc/Resident.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dotty/tools/dotc/Resident.scala') 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 = ??? -- cgit v1.2.3