forked from VimPlug/jedi
testing: added test to override generator with annotation
This commit is contained in:
@@ -309,3 +309,8 @@ def annotation2() -> Iterator[float]:
|
||||
next(annotation1())
|
||||
#? float()
|
||||
next(annotation2())
|
||||
|
||||
|
||||
# annotations should override generator inference
|
||||
#? float()
|
||||
annotation1()
|
||||
|
||||
Reference in New Issue
Block a user