gh-93691: fix too broad source locations of for statement iterators (#120330)

This commit is contained in:
Irit Katriel 2024-06-12 12:53:19 +01:00 committed by GitHub
parent 755dab719d
commit 97b69db167
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 63 additions and 8 deletions

View file

@ -49,6 +49,7 @@ class IsolatedCodeGenTests(CodegenTestCase):
('GET_ITER', None, 1),
loop_lbl := self.Label(),
('FOR_ITER', exit_lbl := self.Label(), 1),
('NOP', None, 1, 1),
('STORE_NAME', 1, 1),
('LOAD_NAME', 2, 2),
('PUSH_NULL', None, 2),