void () { doTestByText(""" from typing import TypedDict, Final class Movie(TypedDict): name: str year: int YEAR: Final = 'year' m = Movie(name='Alien', year=1979) years_since_epoch = m[YEAR] - 1970"""); }