-
Notifications
You must be signed in to change notification settings - Fork 21
Deprecate shifting int by long #10508
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
Is this a good first issue? |
I think so. deprecations and removals are usually among the easiest tasks. |
I'd like to take look into this if anyone can point me in the right direction |
@thestuckster you could start by writing the tests that you'd like to succeed, and verify that they fail as for where in the compiler code to even find where "shifting int by long" is, I would have suggested looking at scala/scala#5117, but looks like it only affects code in the back end, but we'd want to report the error much earlier. another thought would be to try to think of a similar, already existing warning and then see how it's implemented. that's one increment of advice — further increments of advice are available if you let us know how you're doing |
Those things are methods, declared in |
@thestuckster I just noticed that a PR on this, by @sh0hei, exists at scala/scala#6370, but marked as WIP |
@SethTisue thanks for the heads up |
fixed in scala/scala#6680 |
See scala/scala3#2968, #9516
The text was updated successfully, but these errors were encountered: