We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc59efb + a06c59a commit 9e06f24Copy full SHA for 9e06f24
project/scripts/bootstrapCmdTests
@@ -77,3 +77,9 @@ grep -qe "Usage: scala <options> <source files>" "$tmp"
77
78
./bin/scala -d hello.jar tests/run/hello.scala
79
ls hello.jar
80
+
81
+echo "testing i12973"
82
+clear_out "$OUT"
83
+./bin/scalac -d "$OUT/out.jar" tests/pos/i12973.scala
84
+echo "Bug12973().check" | TERM=dumb ./bin/scala -cp "$OUT/out.jar" > "$tmp" 2>&1
85
+grep -qe "Bug12973 is fixed" "$tmp"
tests/pos/i12973.scala
@@ -0,0 +1,4 @@
1
+// Compiled and placed on the REPL classpath in the bootstrapCmdTests script
2
+// to test that launching the REPL with `scala -cp <path>` works (issue #12973)
3
+case class Bug12973():
4
+ def check = s"$productPrefix is fixed"
0 commit comments