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
Drop the Null arm when flattening Nullable<T> into argument variants (#20)
A Nullable<T> argument was fanning out into [T, Null], producing a
`_with_null(val: &Null)` overload everywhere a parameter or setter
accepted `T | null`. The Null overload is API noise: callers either
have a value to pass (use the T arm) or they don't (use an
optional-truncation overload). Forcing them to construct a Null value
just to clear a field offers nothing.
Now Nullable<T> in argument position flattens to [T] only.
Return-position handling (Option<T>, JsOption<T>) is unchanged — that
lives in to_syn_type, independent of this fan-out.
0 commit comments