void () { runWithLanguageLevel( LanguageLevel.getLatest(), () -> { doTest("int | str", """ from typing import TypedDict class A(TypedDict, total=False): x: int a: A = {'x': 42} expr = a.get('x', '')"""); } ); }