void () { assertResolvesTo( """ if a := b: print(a) <ref>""", PyTargetExpression.class, "a" ); assertResolvesTo( "[y := 2, y**2]\n" + " <ref>", PyTargetExpression.class, "y" ); assertResolvesTo( "[y for x in data if (y := f(x))]\n" + " <ref>", PyTargetExpression.class, "y" ); assertResolvesTo( """ len(lines := []) print(lines) <ref>""", PyTargetExpression.class, "lines" ); }