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 70c8cd5 commit 21b419eCopy full SHA for 21b419e
mypyc/test-data/irbuild-tuple.test
@@ -193,6 +193,8 @@ L2:
193
r4 = CPySequenceTuple_GetItem(nt, r3)
194
r5 = unbox(int, r4)
195
return r5
196
+
197
198
[case testTupleOperatorIn]
199
def f(i: int) -> bool:
200
return i in [1, 2, 3]
@@ -208,14 +210,14 @@ def f(i):
208
210
r7 :: bool
209
211
L0:
212
r2 = 1
- r3 = i == r2 :: int
213
+ r3 = CPyTagged_IsEq(i, r2)
214
if r3 goto L1 else goto L2 :: bool
215
L1:
216
r1 = r3
217
goto L3
218
L2:
219
r4 = 2
- r5 = i == r4 :: int
220
+ r5 = CPyTagged_IsEq(i, r4)
221
r1 = r5
222
L3:
223
if r1 goto L4 else goto L5 :: bool
@@ -224,7 +226,7 @@ L4:
224
226
goto L6
225
227
L5:
228
r6 = 3
- r7 = i == r6 :: int
229
+ r7 = CPyTagged_IsEq(i, r6)
230
r0 = r7
231
L6:
- return r0
232
+ return r0
0 commit comments