Feedback
Extension method overloads dispatch to the correct signature
- Status
- Fixed
- Fixed in
- v26.10.1
- Area
- compiler
- Source discussion
- https://forum.objo.dev/d/1237-extension-methods-with-overloads
- Last updated
- 2026-10-05
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Calling one overload of an extension method can invoke a different overload and fail at runtime with an argument-count error. Extension methods with distinct parameter lists should dispatch to the matching implementation, just as ordinary overloaded methods do.