Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 29eace3

Browse files
authored
Two more if variants for indentation test
two more "funny" if variants that compile. on foo if foo() then code else code -- comment end foo on foo if foo() then code else code -- comment end foo
1 parent 81a8afb commit 29eace3

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

tests/scripteditor/_indentation_tests/if.livecodescript

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,16 @@ on foo
5555
then code else code
5656
-- comment
5757
end foo
58+
59+
on foo
60+
if foo()
61+
then
62+
code else code
63+
-- comment
64+
end foo
65+
66+
on foo
67+
if foo() then
68+
code else code
69+
-- comment
70+
end foo

0 commit comments

Comments
 (0)