You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that, on the true branch, it needs to perform a checkcast before calling nat$typeof(). For some reason it's not doing that. The type test being used should be against !int. So, on the true branch, it shouldn't need to check the invariant. In fact, it should be checking the invariant on the false branch and, if the invariant doesn't hold, branching back to the true branch.
The text was updated successfully, but these errors were encountered:
The following from TypeEquals_Valid_57 fails at JVM verification time:
The reason is not completely clear. The bytecode looks like this:
The problem is that, on the true branch, it needs to perform a
checkcast
before callingnat$typeof()
. For some reason it's not doing that. The type test being used should be against!int
. So, on the true branch, it shouldn't need to check the invariant. In fact, it should be checking the invariant on the false branch and, if the invariant doesn't hold, branching back to the true branch.The text was updated successfully, but these errors were encountered: