Project

General

Profile

Actions

Bug #127

closed

Starzen test case if-else statement with semicolumn and begin on next line

Added by Wil van Antwerpen about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
03/08/2019
Due date:
% Done:

0%

Estimated time:

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.

Actions

Also available in: Atom PDF