-
Notifications
You must be signed in to change notification settings - Fork 136
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
[23][Preview][Primitive type patterns] VerifyError with instanceof record patterns with conversion from double to Long #3129
Comments
Byte code generated:
It seems we can reach bci with stack depth being 0 through one arc and stack depth being 1 through another arc. |
@stephan-herrmann - thanks for taking a look |
It was the plan originally that we would as we generate code call out verification failures - but that is a project whose time has to come :) We can consider the warning -> error change at some point. yes. |
Testcase:
Exception thrown when run:
Note: It's also cool to see the compiler error about "Internal inconsistency: Inappropriate operand stack size encountered during translation". After some more testing, may be we can make that an error instead of warning - @srikanth-sankaran ?
The text was updated successfully, but these errors were encountered: