Inspectopedia
 
2024.3

Bad type argument type

Error
New
Last modified: 03 December 2024

Reports type arguments passed to generic types which do not subtype the expected upper bound. Type arguments must be a subtype of any specified upper bound.

Example: