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
I have an exhaustive match block with return statements for each case, but mypy flags it as a missing return error: error: Missing return statement [return]
Bug Report
I have an exhaustive match block with
return
statements for each case, but mypy flags it as a missing return error:error: Missing return statement [return]
To Reproduce
https://mypy-play.net/?mypy=1.5.0&python=3.11&gist=122ad20737777670f775c802a36251d9
Expected Behavior
No error raised
Actual Behavior
error: Missing return statement [return]
is raisedYour Environment
The text was updated successfully, but these errors were encountered: