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
Because of this condition instructions like 0=1 are possible. It is wrong behavior. Possible fix:
add additional condition: if ((oldVar.typeName == expr.typeName && oldVar !is JcRawConstant) || (expr is JcRawNullConstant && !oldVar.typeName.isPrimitive)) {
* Wrong conversion of some condition instructions with zero comparison from IR to jvm bytecode #167
Wrong conversion of numeric constants from IR to jvm bytecode #166
* Bug with local variables creation #165
Because of this condition instructions like 0=1 are possible. It is wrong behavior. Possible fix:
add additional condition:
if ((oldVar.typeName == expr.typeName && oldVar !is JcRawConstant) || (expr is JcRawNullConstant && !oldVar.typeName.isPrimitive)) {
Failing test:
The text was updated successfully, but these errors were encountered: