You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Type hierarchy actually documents that it provides structural equality. The addition of TypeVariableReference broke that guarantee (for types that contain references), because equality of type variable references is based on object identity. We need to find a way to restore structural equality even in this case.
The text was updated successfully, but these errors were encountered:
Specific use case: ArC (the CDI container in Quarkus) uses TypeVariables as keys to a Map when searching for bean types, during which it has to "resolve type parameters" (apply type arguments supplied by subclasses to generic superclasses, which are effectively type constructors in this context).
The
Type
hierarchy actually documents that it provides structural equality. The addition ofTypeVariableReference
broke that guarantee (for types that contain references), because equality of type variable references is based on object identity. We need to find a way to restore structural equality even in this case.The text was updated successfully, but these errors were encountered: