Feedback
Generic methods forward their type arguments correctly
- Status
- Fixed
- Fixed in
- v26.10.3
- Area
- compiler
- Source discussion
- -
- Last updated
- 2026-10-20
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Calling another generic method from a generic method can fail with an undefined-variable error for the type parameter, even though the programme passes type checking. Forwarded explicit and inferred type arguments should use the caller's runtime type argument.