-
Notifications
You must be signed in to change notification settings - Fork 144
Support or silently warn about legacy-scala
-runner-specific options without failing
#1721
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
Comments
Regarding Scala 2's exclusive As the legacy option is barely documented, let me first explain how it seems to be meant to work.
TL;DR cc @julienrf |
A deprecation warning should be the minimal thing to do. There you could explain that |
Uh oh!
There was an error while loading. Please reload this page.
Describe what needs to be done and why
We need to be backwards compatible with all the options available from the old Scala runner.
This doesn't necessarily mean we have to implement any missing functionality (unless it makes sense), but we shouldn't fail builds when they're passed and a meaningful warning explaining what works and why should be given (similarly to how it's done in #1679).
The ones we still have left to handle:
-howtorun
-i
-I
-Dname=prop
-J<arg>
-nobootcp
-run
-with-compiler
We should also add a thorough doc on our docs website explaining which legacy options are supported and how.
Additional context
-save
is not supported #1670-save
&-nosave
legacyscala
runner options instead of failing #1679-e
and--scalac-help
#1313-d
and-classpath
options backwards compatible with thescala
command #1340The text was updated successfully, but these errors were encountered: