Open dunhor opened 3 years ago
While debugging a different issue, I thought of a somewhat interesting scenario. Consider a type Foo
which requires
a generic interface - say IVector<Foo>
. We should validate that scenarios like this don't lead us down an infinite recursive path (idk if it will, but I can't convince myself immediately that we handle it gracefully)
Generic types are generated on-demand. I.e. for scenarios where the type is visible to/usable by JS. We already cover a fair amount of this with the Collections tests, but we should be more explicit about testing specific scenarios. In particular, here are scenarios where we should generate generic specializations:
IReference
)