We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ace7b9 commit efc6a0fCopy full SHA for efc6a0f
test-data/unit/pythoneval.test
@@ -1710,7 +1710,7 @@ reveal_type(E.X.name)
1710
reveal_type(e.foo)
1711
reveal_type(E.Y.foo)
1712
[out]
1713
-_testEnumNameWorkCorrectlyOn311.py:11: note: Revealed type is "builtins.str"
+_testEnumNameWorkCorrectlyOn311.py:11: note: Revealed type is "Union[Literal['X'], Literal['Y']]"
1714
_testEnumNameWorkCorrectlyOn311.py:12: note: Revealed type is "Union[Literal[1]?, Literal[2]?]"
1715
_testEnumNameWorkCorrectlyOn311.py:13: note: Revealed type is "Literal['X']?"
1716
_testEnumNameWorkCorrectlyOn311.py:14: note: Revealed type is "builtins.int"
0 commit comments