Incompatible types in assignment for dict[key] = tmp = value
and nested structures
#5289
Labels
dict[key] = tmp = value
and nested structures
#5289
I have Python2 code building some nested structures like lists/tuples/sets/dicts in dicts. For populating the nested structure I keep a temporary reference, which
mypy
fails to parse if the (untyped) temporary reference is not the first variable being assigned:The text was updated successfully, but these errors were encountered: