void () { runWithLanguageLevel( LanguageLevel.getLatest(), () -> doTestByText(""" from typing import TypedDict class Employee(TypedDict): name: str id: int class Employee2(Employee, total=False): director: str em = Employee2(name='John Dorian', id=1234, director='3') em2 = Employee2(name='John Dorian', id=1234, <warning descr="Expected type 'str', got 'int' instead">director=3</warning>)""")); }