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
When using direct coroutine call in pattern matching construction, mypy complains about missing return statement.
But if the coroutine result previously has been assigned to a variable, and the variable was used in pattern matching then mypy is good with it
Bug Report
When using direct coroutine call in pattern matching construction, mypy complains about missing return statement.
But if the coroutine result previously has been assigned to a variable, and the variable was used in pattern matching then mypy is good with it
To Reproduce
Expected Behavior
No errors
Actual Behavior
Your Environment
mypy.ini
(and other config files):pyproject.toml
The text was updated successfully, but these errors were encountered: