Bug #127
Starzen test case if-else statement with semicolumn and begin on next line
Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
03/08/2019
Due date:
% Done:
0%
Description
Mike was so nice to share this test case:
class myfoo is a cClass
Procedure Bar
if (foo) ; // foo comment
begin // begin comment
showln ; // showln comment
; // blank line comment
"bla" // bla comment
end
End_Procedure
end_class
Then run the indenter and the result is:
class myfoo is a cClass
Procedure Bar
if (foo) ; // foo comment
begin // begin comment
showln ; // showln comment
; // blank line comment
"bla" // bla comment
end
End_Procedure
end_class
.. almost correct. It misaligns the begin/end clause.
History
#1 Updated by Wil van Antwerpen almost 6 years ago
- Status changed from New to Resolved
Fixed by adding a specific test on the "begin" if the single line comment indent code is active.
#2 Updated by Wil van Antwerpen about 5 years ago
- Status changed from Resolved to Closed