Hi,
Below combination of mzn and json throws
Error: type error: cannot determine coercion from type string to type E
Inlining the type definition makes the json parser happy, however, in my mzn inlining all the nested records is not very attractive.
Any thoughts if there is a fix planned?
Thanks,
Andrey
enum E;
type R = record(E: fld);
array [_] of R: rs;
{
"E": ["E1", "E2"],
"rs": [
{"fld": "E1"},
{"fld": "E2"}
]
}