Skip to content

Commit c7cc6d8

Browse files
committed
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.
1 parent e32448c commit c7cc6d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dotty/tools/dotc/Resident.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import scala.annotation.tailrec
2121
*
2222
* dotc> :q // quit
2323
*/
24-
object Resident extends Driver {
24+
class Resident extends Driver {
2525

26-
@unshared object residentCompiler extends Compiler
26+
object residentCompiler extends Compiler
2727

2828
override def newCompiler(): Compiler = ???
2929

0 commit comments

Comments
 (0)