rascal>compileClass(cl, |home:///test.class|)
io.usethesource.vallang.exceptions.UndeclaredFieldException: tuple[list[Type] formals] does not have a field with label name declared for it
at io.usethesource.vallang.type.TupleTypeWithFieldNames.getFieldIndex(TupleTypeWithFieldNames.java:66)
at io.usethesource.vallang.type.ConstructorType.getFieldIndex(ConstructorType.java:248)
at io.usethesource.vallang.impl.persistent.Constructor$AbstractConstructor.get(Constructor.java:172)
the disassembled class:
I suspect the
INVOKESPECIAL
is not implemented correctly for constructors in the compiler.