Skip to content

Commit 9a78cff

Browse files
add a test
1 parent 060e5bb commit 9a78cff

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/parser/syntax/test_for_range.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ def foo():
2222
for i in range(x, x + 10):
2323
pass
2424
""",
25+
"""
26+
interface Foo:
27+
def kick(): nonpayable
28+
foos: Foo[3]
29+
@external
30+
def kick_foos():
31+
for foo in self.foos:
32+
foo.kick()
33+
""",
2534
]
2635

2736

0 commit comments

Comments
 (0)