Open
Description
Compiling this code crashes the code generator; if the commented line is un-commented then it will compile and run correctly.
module TEST
imports INT
imports MINT
syntax MInt{1}
// rule _:Int => Int2MInt(0)::MInt{1}
endmodule
If the code is ill-formed for some reason when the rule is not present, we should emit a friendlier error message either in the frontend or in the backend.