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
{{ message }}
Repository navigation
Default parameters on a generic type's methods are never filled: impl[T] Bx[T]: fn get(k: i32 = 2) called as b.get() is refused #2002
Found by the #1973 fix (wave-sema2). impl[T] Bx[T]: fn get(k: i32 = 2) called as b.get() is refused — before the fix with "wrong argument count", now with "expects 1 argument(s), found 0". Default arguments work on non-generic methods and free functions; on a generic type's method the default is never filled (resolve_method_implicit_default_args doesn't reach the generic-method path). Spec: default parameters apply to every callable. Failing-first behavior fixture: a generic type's method with a default, called with and without the argument, plus a generic method on a non-generic type.
Fixed on main in c884c1c (stack #2001 → #2010, seed-driven battery GREEN on b932ef6, tree identical to main). Fixture coverage is in the stack's commits.
Activity
Sema: defaults of a generic method are filled from its declaration (#…
Sema: one arity check for every call path (#1973); owned ?? / unwrap_…
ehartford commentedon Oct 3, 2026
Fixed on main in c884c1c (stack #2001 → #2010, seed-driven battery GREEN on b932ef6, tree identical to main). Fixture coverage is in the stack's commits.