void () { runWithLanguageLevel(LanguageLevel.PYTHON312, () -> doTestByText(""" from typing import TypeVar T = TypeVar('T') type m = list[<error descr="Traditional TypeVars are not allowed inside new-style type alias statements">T</error>] """)); }