void () { runWithLanguageLevel( LanguageLevel.PYTHON38, () -> { doTest("int", "[expr := 1]"); doTest("int", "[expr := (1)]"); doTest("int", "expr = (e := 1)"); doTest("int", "foo(expr := 1)"); doMultiFileTest("Type[A]", "from a import member\nexpr = member"); assertNull(((PyTargetExpression)parseExpr("(nums := [0 for expr in range(10)])")).findAssignedValue()); } ); }