-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scala 3 repl does not work with -cp argument, needs -repl as workaround #12973
Comments
This seems to have been recently fixed, perhaps by #13081? |
Fantastic if this is fixed!!! Will the old -repl option hurt after the fix or will that still work? |
I just tried it, and it now displays a message on startup: So the situation is: Scala 3.0.0 through 3.0.2 (forthcoming, RC1 is out): needs the |
Thanks @griggt for clarification on versions. (Then I need to decide if I should print as is and make errata or add some kind of footnote with version info or something.) |
If no issues are found with the 3.1.0-RC1 releasing about September 1 then the 3.1.0 final should be about October 13th |
@griggt Is "bad option" the right message after fix? I mean: is there any use still for that -repl option or it is eradicated for good from 3.1? |
I removed it. Related disscussion is here #13081 (comment) |
Great! (I have just added a note in my teaching material that |
Fix #12973: Add regression test
Compiler version
3.0.0 and 3.0.1-RC2
Minimized code and output
The repl cannot be started with a
-cp
argument.In 3.0.0 using the .zip from the release on Ubuntu:
In 3.0.1-RC2 instead of a warning, the
-help
output is printed.Expectation
Undocumented workaround:
The text was updated successfully, but these errors were encountered: