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
Pyright incorrectly marks a match case as unreachable (regression in 1.1.408) #11249
I noticed this issue while updating the typing conformance tests. On this code snippet, which is taken from the tuples_type_compat conformance test, pyright 1.1.407 behaves correctly (errors on exactly one assert_type in each match case, showing that it infers one of the two acceptable types in each case), whereas pyright 1.1.408 incorrectly marks the code in the last match case as unreachable.
Activity
Fix workspace initialization when workspaceFolders capability is enab…