void () { runWithLanguageLevel( LanguageLevel.PYTHON38, () -> doTestByText(""" from typing import TypedDict class X(TypedDict): x: str x = X(x='str') x.clear() x['x'] = 'rts' x.<warning descr="Unresolved attribute reference 'clea' for class 'X'">clea</warning>() x.<warning descr="Unresolved attribute reference 'x' for class 'X'">x</warning>() x1: X = {'x1': 'str'} x1['x1'] = 'rts' x1.clear() x1.<warning descr="Unresolved attribute reference 'clea' for class 'X'">clea</warning>() x1.<warning descr="Unresolved attribute reference 'x' for class 'X'">x</warning>()""") ); }