Skip to content

fix: CompilationUnit has lineSeparatorPositions even for empty class#2824

Merged
monperrus merged 3 commits intoINRIA:masterfrom
pvojtechovsky:fixEmptyClass
Dec 8, 2018
Merged

fix: CompilationUnit has lineSeparatorPositions even for empty class#2824
monperrus merged 3 commits intoINRIA:masterfrom
pvojtechovsky:fixEmptyClass

Conversation

@pvojtechovsky
Copy link
Copy Markdown
Collaborator

This is alternative to #2823

Thank You Egor for the failing test. I added it as part of this PR.

Then I fixed it by way the compilation unit has correct lineSeparatorPositions even when it is empty.

@monperrus monperrus merged commit 5da7f8e into INRIA:master Dec 8, 2018
@pvojtechovsky pvojtechovsky deleted the fixEmptyClass branch December 11, 2018 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants