void () { runWithLanguageLevel( LanguageLevel.PYTHON35, () -> doTest("str", """ from typing import overload @overload def foo(value: int) -> int: pass @overload def foo(value: str) -> str: pass def foo(value): return None expr = foo("5")""") ); }