Skip to content

Commit 2882134

Browse files
Update irbuild-tuple.test
1 parent 5a30db1 commit 2882134

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mypyc/test-data/irbuild-tuple.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -750,9 +750,9 @@ def varint() -> int:
750750

751751
def varint_check() -> Literal[10]:
752752
# this helper lets us make sure a literal hint is not honored if not certain
753-
return 2
753+
return 4
754754

755-
source: Final = (1, varint(), 3)
755+
source: Final = (1, varint(), 3, varint_check())
756756
source_check: Final = (1, varint_check(), 3)
757757

758758
def f(val: int) -> bool:
@@ -768,7 +768,7 @@ L0:
768768
return 4
769769
def varint_check():
770770
L0:
771-
return 4
771+
return 8
772772
def f(val):
773773
val, r0 :: int
774774
r1 :: bit
@@ -777,7 +777,7 @@ L0:
777777
r1 = int_eq r0, 0
778778
return r1
779779
def test():
780-
r0 :: tuple[int, int, int]
780+
r0 :: tuple[int, int, int, int]
781781
r1 :: bool
782782
r2 :: object
783783
r3 :: native_int

0 commit comments

Comments
 (0)