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
With @PolyDet as the default type, the code new String[] {} does not type-check:
MyFile.java:16: error: [determinism:invalid.array.component.type] array type (@PolyDet String @Det []) cannot have component type (@PolyDet)
new String[] {}
^
Neither does new String[] {"hello"}.
The text was updated successfully, but these errors were encountered:
With
@PolyDet
as the default type, the codenew String[] {}
does not type-check:Neither does
new String[] {"hello"}
.The text was updated successfully, but these errors were encountered: