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
Thanks for reporting the problem. I think this has been fixed since the last release of pylance. I'm able to repro it with the last released version, but I'm no longer able to repro it with the latest code. A new version of pylance will be released within the next day or two, and that should address the problem.
Environment data
Expected behaviour
Within the following code
the type of
b
should be inferred aslist[int]
.This is the case when removing the start argument, i.e. for
types are asserted just fine,
Actual behaviour
Pylance(reportUnknownVariableType)
for variableb
andc
(see below).Logs
The text was updated successfully, but these errors were encountered: