Open grosu opened 8 years ago
Apparently this exception was thrown because the old definitions used .
instead of .Bag
in the following rule:
rule <task> <k> T:Type F:Id(Ps:Params) S => getTypes(Ps)->T F; ...</k> </task>
(.Bag => <task>
<k> mkDecls(Ps) S </k> <tenv> .Map </tenv> <return> T </return>
</task>)
[structural]
We should obviously get a more civilized error here.
This is what you get when you kompile simple-typed-static.k of K3.6 with the K4.0 kompiler:
I've already ran the program with --debug, so no need to be told the above. Period at the end of the message.