-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments associated with Visitess when newlines between the comment and Visitee #26
Comments
This is not how the package works and thought of. Empty lines will disassociate the comment. Without this, many of our definitions will have wrong format ; e.g. syntax will have the copyright as its comment. Field comment will dangle. |
This is how it is currently parsed, is what I am saying. Putting a newline does not disassociate the comment. In the above example, |
ok, i will review it again |
Hi, any status on this? |
ic, the comments should not be associated because they are separated. I created a test for this to fix. |
Your change here introduced a bug. Comments no longer appropriately associate.
The comment on Can you please revert? |
…or more newlines" This reverts commit 1ed9ecb.
Example:
// bar
is theComment
on theSyntax
object, and// baz
is theComment
on thePackage
object.// foo
correctly is associated with just theProto
object and will be hit when you get toVisitComment
onProto
.The text was updated successfully, but these errors were encountered: