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
The type S matters, so it must be inferred somehow. In the future, with type param defaults properly turned on, you can set a default. For now you must choose a type, for example by hinting on the none: None::<Xyz>.
request
is declared asThe compiler errors when
data
isNone
because now the typeS
is undefined.There is a failing test here which demonstrates the desired behavior.
The text was updated successfully, but these errors were encountered: