Skip to content

Comments

fix: CtPackageDeclaration position doesn't include top file comment#2811

Merged
monperrus merged 2 commits intoINRIA:masterfrom
pvojtechovsky:fixPckDclPos
Dec 1, 2018
Merged

fix: CtPackageDeclaration position doesn't include top file comment#2811
monperrus merged 2 commits intoINRIA:masterfrom
pvojtechovsky:fixPckDclPos

Conversation

@pvojtechovsky
Copy link
Collaborator

@pvojtechovsky pvojtechovsky commented Dec 1, 2018

The position of CtPackageDeclaration never contains top comment of file. Next comments belongs to package declaration

/* file comment, belongs to compilation unit */
/* every other comment belongs to package declaration */
package a.b.C;

@pvojtechovsky pvojtechovsky changed the title WiP: fix: CtPackageDeclaration position doesn't include top file comment fix: CtPackageDeclaration position doesn't include top file comment Dec 1, 2018
@monperrus monperrus merged commit 4c35e2e into INRIA:master Dec 1, 2018
@pvojtechovsky pvojtechovsky deleted the fixPckDclPos branch December 1, 2018 19:09
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