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 }}
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This is not currently possible as analysis is static. Code does not track type by location. Thus, at best, variable will have two types. In order to make this work the engine either has to eval code to the completion point (JavaScript editor used to do this) or types attached to variable need to have 'applicable spans' associated with them.
Unfortunately I think reassigning variables with different types is a pretty normal thing to do in a non-static language like Python, and it's probably worthwhile to try to do this.
Here,
a
is initially a list of strings, but after line 4, it should be known to be a list of ints.Found in #334.
The text was updated successfully, but these errors were encountered: