Skip to content

Commit 85652a2

Browse files
committed
fix ir
1 parent 8d523a0 commit 85652a2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mypyc/test-data/irbuild-int.test

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,9 @@ def f(x: int) -> bytes:
217217
[out]
218218
def f(x):
219219
x :: int
220-
r0 :: bytes
220+
r0 :: str
221+
r1 :: bytes
221222
L0:
222-
r0 = CPyTagged_ToBytes(x, 4, 'big', 0)
223+
r0 = 'big'
224+
r1 = CPyTagged_ToBytes(x, 4, r1, 0)
223225
return r0

0 commit comments

Comments
 (0)