We have two objects that each have a field with an enum. The two enums are in different packages but are mirror images of each other. When we try to map between the objects we get a StackOverflowError.
It appears to be caused by TypeInfoFactory.typeInfo(type): the enum eventually resolves to its base class java.lang.Enum<e>, which turns out to be a parameterized type, so it takes that branch of the switch statement. This calls typeInfo(type) for E, which turns out to be a TypeVariable, so it takes that branch of the switch statement. The type bounds are available, so it calls typeInfo(type) with the first bounds object, which is java.lang.Enum<e>. Repeat forever.</e></e>
It looks like enums may need special handling in Nomin in order to map to each other.
Stack trace for the StackOverflowError