When I define a recursive tuple type like this:
typedef SerializedBreadCrumb as [Number, Array<SerializedBreadCrumb> or Null ];
The compiler crashes with the following error. The stack trace recursively shows the same entries up to the beginning of the visible terminal in VS Code.
at com.garmin.monkeybrains.compiler2.ir.types.CollectionType.instanceOfCollection(CollectionType.java:252) at com.garmin.monkeybrains.compiler2.ir.types.CollectionType.instanceOf(CollectionType.java:175) at com.garmin.monkeybrains.compiler2.ir.types.PolyType.instanceOf(PolyType.java:300) at com.garmin.monkeybrains.compiler2.ir.types.PolyType.instanceOf(PolyType.java:249) at com.garmin.monkeybrains.compiler2.ir.types.CollectionType.instanceOfTuple(CollectionType.java:286) at com.garmin.monkeybrains.compiler2.ir.types.CollectionType.instanceOf(CollectionType.java:207) at com.garmin.monkeybrains.compiler2.ir.types.PolyType.instanceOf(PolyType.java:300) at com.garmin.monkeybrains.compiler2.ir.types.PolyType.instanceOf(PolyType.java:249) at com.garmin.monkeybrains.compiler2.ir.types.CollectionType.instanceOfCollection(CollectionType.java:252) at com.garmin.monkeybrains.compiler2.ir.types.CollectionType.instanceOf(CollectionType.java:175) at com.garmin.monkeybrains.compiler2.ir.types.PolyType.instanceOf(PolyType.java:300) at com.garmin.monkeybrains.compiler2.ir.types.PolyType.instanceOf(PolyType.java:249) at com.garmin.monkeybrains.compiler2.ir.types.CollectionType.instanceOfTuple(CollectionType.java:286) at com.garmin.monkeybrains.compiler2.ir.types.CollectionType.instanceOf(CollectionType.java:207) at com.garmin.monkeybrains.compiler2.ir.types.PolyType.instanceOf(PolyType.java:300) at com.garmin.monkeybrains.compiler2.ir.types.PolyType.instanceOf(PolyType.java:249) * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it.