diff --git a/test/completion/generators.py b/test/completion/generators.py index 798398cf..3b04d932 100644 --- a/test/completion/generators.py +++ b/test/completion/generators.py @@ -309,3 +309,8 @@ def annotation2() -> Iterator[float]: next(annotation1()) #? float() next(annotation2()) + + +# annotations should override generator inference +#? float() +annotation1()