Wing incorrectly infers dictionary as set
In the following code, Wing infers zs
to be a set()
when it's really a dict()
:
xs = {'a': 10}
ys = {'b': 20}
zs = {**xs, **ys}
This causes annoyances later on with things like zs.get(...)
being highlighted as an error, saying that get
isn't a method of a set()
.
Comments