void () { runWithLanguageLevel(LanguageLevel.PYTHON312, () -> doTestByText(""" from typing import TypeVar K = TypeVar("K") class ClassA[V](dict[<error descr="Mixing traditional and new-style type variables is not allowed">K</error>, V]): ... """)); }