Closed Atry closed 2 months ago
Given the following pyflyby_bug.py file:
pyflyby_bug.py
match { "foo": 1, "bar": 2 }: case { "foo": foo, "bar": bar, **rest, }: print(foo) case _: pass
When running:
tidy-imports pyflyby_bug.py
I got the warning:
[PYFLYBY] /home/nixos/peftai/pyflyby_bug.py:7: undefined name 'foo' and no known import for it
version
tidy-imports --version
pyflyby 1.9.4 (tidy-imports)
This should have been fixed by #349
Given the following
pyflyby_bug.py
file:When running:
I got the warning:
version