Skip to content

Commit

Permalink
Make Resident and object so that its main method can be called from j…
Browse files Browse the repository at this point in the history
…ava.

We don't usually need it. I played with it to figure out scala#20245, and found out it
was set up incorrectly.
  • Loading branch information
odersky committed Apr 23, 2024
1 parent cfc46e4 commit 04fa28d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/Resident.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import scala.annotation.tailrec
*
* dotc> :q // quit
*/
class Resident extends Driver {
object Resident extends Driver {

object residentCompiler extends Compiler

Expand Down

0 comments on commit 04fa28d

Please sign in to comment.