forked from VimPlug/jedi
Make sure overload signatures work, see #1417
This commit is contained in:
8
test/examples/typing_overload/file.pyi
Normal file
8
test/examples/typing_overload/file.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
from typing import overload
|
||||
|
||||
|
||||
@overload
|
||||
def with_overload(x: int, y: int) -> float: ...
|
||||
|
||||
@overload
|
||||
def with_overload(x: str, y: list) -> float: ...
|
||||
Reference in New Issue
Block a user