void () { // we don't support using `typing.Literal` with enums :( runWithLanguageLevel( LanguageLevel.PYTHON35, () -> doMultiFileTest("A", """ from typing_extensions import Literal from enum import Enum class A(Enum): V1 = 1 V2 = 2 expr: Literal[A.V1] = undefined""") ); }