Since #435, pyflakes git tip copes with synchronous @overload'ed functions, but not with async ones: ```python from typing import overload @overload def f(x: int) -> int: ... @overload def f(x: float) -> float: ... def f(x): return x @overload async def g(x: int) -> int: ... @overload async def g(x: float) -> float: ... async def g(x): return x ``` ```bash $ python -m pyflakes . 18:1 redefinition of unused 'g' from line 14 22:1 redefinition of unused 'g' from line 18 ```
Activity
asottile commentedon Sep 23, 2019
thanks for the issue and reproduction! I've created #472 for that -- please try it out and let me know if it fixes the bug