We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 205d045 commit fd672ebCopy full SHA for fd672eb
tests/run-with-compiler/i14541.scala
@@ -6,6 +6,7 @@ object Test:
6
def main(args: Array[String]): Unit =
7
getClass.getClassLoader.run("echo", List("hello", "raw", "world"))
8
// caution: uses "SCALA_OPTS"
9
+ sys.props("scala.use_legacy_launcher") = "true"
10
dotty.tools.MainGenericRunner.main(Array("--class-path", classpath, "echo", "hello", "run", "world"))
11
12
@main def echo(args: String*): Unit = println {
0 commit comments