-
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
Missing unchecked warning for isInstanceOf checks #3324
Comments
I am not sure what we want to spec here, yet. |
I now think we should do the same as scalac. |
For
|
It's actually a wider problem: Consider:
scalac will issue an unchecked warning at each line. Dotty remains silent. |
add check for runtime realizability of type test
add check for runtime realizability of type test
add check for runtime realizability of type test
add check for runtime realizability of type test
add check for runtime realizability of type test
add check for runtime realizability of type test
add check for runtime realizability of type test
add check for runtime realizability of type test
add check for runtime realizability of type test
Fix #3324: add `isInstanceOf` check
This code snippet emits a warning with scalac but not with Dotty
The text was updated successfully, but these errors were encountered: