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
class Foo[of T(IComparable[of T])]:
pass
Foo[of int]() // error occurs here
Expected: This should work, as Int32 implements IComparable<Int32>.
Observed: The generic type checker errors out here, as it incorrectly checks whether int implements the generic IComparable[of T], rather than the reified IComparable[of int].
The text was updated successfully, but these errors were encountered:
Expected: This should work, as
Int32
implementsIComparable<Int32>
.Observed: The generic type checker errors out here, as it incorrectly checks whether
int
implements the genericIComparable[of T]
, rather than the reifiedIComparable[of int]
.The text was updated successfully, but these errors were encountered: