Skip to content

Commit dce4881

Browse files
Update irbuild-basic.test
1 parent 065d8db commit dce4881

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

mypyc/test-data/irbuild-basic.test

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3093,18 +3093,8 @@ def f() -> int:
30933093
return x - 1
30943094
[out]
30953095
def f():
3096-
r0 :: int
3097-
r1 :: bool
3098-
r2 :: int
30993096
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
3097+
return 0
31083098

31093099
[case testFinalRestrictedTypeVar]
31103100
from typing import TypeVar

0 commit comments

Comments
 (0)