Skip to content

scala_repl is broken for Scala 3 #1793

@WojciechMazur

Description

@WojciechMazur

REPL in Scala 3 uses different main class then the one used for Scala 2, the main class should be selected dynamically
for Scala 2: scala.tools.nsc.MainGenericRunner
for Scala 3: dotty.tools.repl.Main

Also in upcoming Scala 3.8 REPL was seperated from compiler artifact and introduces dependenices on fansi for syntax highliting / rendering

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions