Skip to content

Empty lines between if and body are not removed if there's a comment #556

@Gama11

Description

@Gama11

The empty line is removed here:

class Main {
	static function main() {
		if (foo)
			
			bar;
	}
}

But not here:

class Main {
	static function main() {
		if (foo) //

			bar;
	}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingemptylinesmissing or incorrect empty line

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions