Skip to content

Commit fd672eb

Browse files
bishaboshaKordyjan
authored andcommitted
escape error message in test
[Cherry-picked bcdf5e7]
1 parent 205d045 commit fd672eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/run-with-compiler/i14541.scala

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ object Test:
66
def main(args: Array[String]): Unit =
77
getClass.getClassLoader.run("echo", List("hello", "raw", "world"))
88
// caution: uses "SCALA_OPTS"
9+
sys.props("scala.use_legacy_launcher") = "true"
910
dotty.tools.MainGenericRunner.main(Array("--class-path", classpath, "echo", "hello", "run", "world"))
1011

1112
@main def echo(args: String*): Unit = println {

0 commit comments

Comments
 (0)