-
Notifications
You must be signed in to change notification settings - Fork 12
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
deprecation
option is defined incorrectly
#5
Comments
@DavidGregory084 @armanbilge could you clarify please? |
@satorg yes that's correct, however it's my understanding that the It's possible that I got the wrong idea and those two options do something different, but if so the scalac documentation doesn't really make that clear. |
yeah, seems it almost never does :) |
@DavidGregory084 regarding
whereas
compiles fine. |
I would suppose that
whereas
I.e. I would guess, it was supposed that |
sounds like something @som-snytt might know |
The additional juice is
Otherwise, You need
Javac also migrated |
Worth adding that |
That helps a lot, thank you! |
Also I realized that starting with Scala 2.12.13 the Scala 2.12.12:
Now compare to
i.e. in Scala 2.12.12 |
That warning was added by a deprecation zealot. It would always warn without any option. Also the message is annoying and unhelpful. I think annoying things should be opt-in, like marriage and paid labor. |
@satorg on the basis of @som-snytt's explanation, do you think there is anything to do here? Perhaps we should fine-tune the version ranges for these two options a bit? |
@DavidGregory084 , yes, short-term we could just tune the version ranges, I think. I can file a PR, if you don't mind. I am quite uncertain though whether we should limit I mean, consider this case: if someone prefers using So I would suggest to make |
Resolved in #8 |
scalac-options/lib/src/main/scala/org/typelevel/scalacoptions/ScalacOptions.scala
Lines 51 to 54 in 1a75eef
leads to
Apparently, the
-deprecation
compiler option is supported on v2.13.x pretty well:So I wonder – is it defined as unsupported in 2.13.x for a reason or by a mistake?
The text was updated successfully, but these errors were encountered: