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
If the ATM passed to commonAssignmentCheck is the varAnnots representing constant slots, and there is a failure of the subtype check, the error message is not helpful:
INFO: ByteCode.java:14: error: [argument.type.incompatible] incompatible types in argument.
StringBuilder sb2 = new StringBuilder(UnitsTools.s);
^
found : @VarAnnot(14) int
required: @VarAnnot(10) int
Here the example is for units, of which the real annotation is @VarAnnot(14) = @s and @VarAnnot(10) = @Dimensionless.
The text was updated successfully, but these errors were encountered:
If the ATM passed to commonAssignmentCheck is the varAnnots representing constant slots, and there is a failure of the subtype check, the error message is not helpful:
Here the example is for units, of which the real annotation is
@VarAnnot(14) = @s
and@VarAnnot(10) = @Dimensionless
.The text was updated successfully, but these errors were encountered: