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 Determinism Checker produces the following error message:
InvalidArrayComponentType.java:13: error: [invalid.array.component.type] component type (@PolyDet String @Det []) cannot be used with array type (@PolyDet)
@PolyDet String @PolyDet [] argnames = bnArgnames;
^
The component and array types seem to be switched in the error message.
It is confusing that the message is issued at the use of bnArgnames. I think it would be clearer for users (and possibly more efficient in the implementation) to issue the error message at the declaration, which is where the illegal type appears in the source code.
The program contains @PolyDet String @PolyDet [] but the message names a different type, @PolyDet String @Det [].
The text was updated successfully, but these errors were encountered:
For this code:
the Determinism Checker produces the following error message:
The component and array types seem to be switched in the error message.
It is confusing that the message is issued at the use of
bnArgnames
. I think it would be clearer for users (and possibly more efficient in the implementation) to issue the error message at the declaration, which is where the illegal type appears in the source code.The program contains
@PolyDet String @PolyDet []
but the message names a different type,@PolyDet String @Det []
.The text was updated successfully, but these errors were encountered: