Feedback
IsA with generic type parameter can crash at runtime
- Status
- Fixed
- Fixed in
- v26.5.5
- Source discussion
- https://forum.objo.dev/d/61-isa-operator-on-generic-crashes
- Last updated
- 2026-05-21
Public summary
Using IsA with a generic method type parameter could compile but fail at runtime. The reported form was T IsA Person inside generic code. The related value IsA T form also needed to resolve T to the concrete runtime generic type argument.
Expected behaviour:
IsA should use the concrete generic type argument at runtime, or the compiler should reject unsupported syntax. It should not crash or perform a normal global lookup for the type parameter name.