Closed hgschmie closed 7 months ago
If a type is defined as Foo<Q extends Foo<Q>>, there was a stack overflow error (endless recursion) when trying to reduce bounds on such a type.
Foo<Q extends Foo<Q>>
As there is no really good answer (see https://github.com/leangen/geantyref/issues/20 for discussion), short-cut the recursion and return the raw type.
While testing this, I found another bug in how capture conversion deals with annotations... I'll release this as soon as I figure that out.
If a type is defined as
Foo<Q extends Foo<Q>>
, there was a stack overflow error (endless recursion) when trying to reduce bounds on such a type.As there is no really good answer (see https://github.com/leangen/geantyref/issues/20 for discussion), short-cut the recursion and return the raw type.