A run-time error occurs when running the attached code (below).
There is a data constructor field which is a plinged CalValue.
Without the pling, the code runs successfully.
The error is:
java.lang.NoSuchMethodError: org.openquark.cal_FieldPlingBugTest.TYPE_Pling_Test.(Lorg/openquark/cal/internal/runtime/lecc/RTValue;)V
The problem doesn't happen here when the lecc_source option is turned on.
The attached code:
data PlingTest =
PlingTest
// A run-time error occurs when creating values of this type
// if the field here is plinged.
testField :: !CalValue
;
doPlingTest :: String;
doPlingTest =
(PlingTest $ toCalValue "test")
`seq`
"<done>";