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
ifnull null seems to be the cause of the error.
However, modifying the semantics of ConSORT seems to mess with ownership and may cause issues.
Modifying how ConditionExpr gets treated with null literals in regnant (src/main/java/edu/kyoto/fos/regnant/translation/Translate.java ) outputs the following ConSORT:
This also fails with line 2, col 2 in file mono.imp: Dead code.
There's probably a better way to generate the code when we hit this case so that we don't generate the "dead code".
The text was updated successfully, but these errors were encountered:
When we pass the following Java code into regnant:
The current implementation of regnant will output code which looks like this:
ifnull null
seems to be the cause of the error.However, modifying the semantics of ConSORT seems to mess with ownership and may cause issues.
Modifying how
ConditionExpr
gets treated with null literals in regnant (src/main/java/edu/kyoto/fos/regnant/translation/Translate.java
) outputs the following ConSORT:This also fails with
line 2, col 2 in file mono.imp: Dead code
.There's probably a better way to generate the code when we hit this case so that we don't generate the "dead code".
The text was updated successfully, but these errors were encountered: