void () { runWithLanguageLevel( LanguageLevel.getLatest(), () -> doTest("LiteralString", """ from typing_extensions import LiteralString def my_function(literal_string: LiteralString) -> LiteralString: ... expr = my_function("42")""") ); }