Skip to content

Commit 04fa28d

Browse files
committed
Make Resident and object so that its main method can be called from java.
We don't usually need it. I played with it to figure out #20245, and found out it was set up incorrectly.
1 parent cfc46e4 commit 04fa28d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/Resident.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import scala.annotation.tailrec
2323
*
2424
* dotc> :q // quit
2525
*/
26-
class Resident extends Driver {
26+
object Resident extends Driver {
2727

2828
object residentCompiler extends Compiler
2929

0 commit comments

Comments
 (0)