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
Just so I understand, the issue is that containsGenericParameter does not evaluate to true for a bound generic type instantiation containing a generic parameter as a type argument?
Just so I understand, the issue is that containsGenericParameter does not evaluate to true for a bound generic type instantiation containing a generic parameter as a type argument?
Never mind the above question--it was pretty obvious when I actually looked at the code. Thanks!
The function
procyon/Procyon.Reflection/src/main/java/com/strobel/reflection/Type.java
Line 321 in fec0d7a
returns an incorrect result for generic types, expecially if compared to
procyon/Procyon.Reflection/src/main/java/com/strobel/reflection/Type.java
Line 297 in fec0d7a
Specifically,
containsGenericParameter
does not take into account closed genericsprocyon/Procyon.Reflection/src/main/java/com/strobel/reflection/Type.java
Line 334 in fec0d7a
just generic type definitions, while
containsGenericParameters
performs the check on both.Removing the line
procyon/Procyon.Reflection/src/main/java/com/strobel/reflection/Type.java
Line 334 in fec0d7a
fixes the inconsistency.
The text was updated successfully, but these errors were encountered: