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 065d8db commit dce4881Copy full SHA for dce4881
mypyc/test-data/irbuild-basic.test
@@ -3093,18 +3093,8 @@ def f() -> int:
3093
return x - 1
3094
[out]
3095
def f():
3096
- r0 :: int
3097
- r1 :: bool
3098
- r2 :: int
3099
L0:
3100
- r0 = __main__.x :: static
3101
- if is_error(r0) goto L1 else goto L2
3102
-L1:
3103
- r1 = raise NameError('value for final name "x" was not set')
3104
- unreachable
3105
-L2:
3106
- r2 = CPyTagged_Subtract(r0, 2)
3107
- return r2
+ return 0
3108
3109
[case testFinalRestrictedTypeVar]
3110
from typing import TypeVar
0 commit comments