Skip to content
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

Line numbers in type fields #15686

Closed
Keno opened this issue Mar 30, 2016 · 2 comments
Closed

Line numbers in type fields #15686

Keno opened this issue Mar 30, 2016 · 2 comments
Labels
parser Language parsing and surface syntax

Comments

@Keno
Copy link
Member

Keno commented Mar 30, 2016

If we have a type that contains a comment on the first line, the line number node will be there rather than on that of the first field. It seems to me that either that line number node should point to the location of the variable, or there should be an extra line number node for the field.
screen shot 2016-03-30 at 2 29 24 am

@Keno Keno added the parser Language parsing and surface syntax label Mar 30, 2016
@JeffBezanson
Copy link
Sponsor Member

Do you have a use for these line numbers?

@Keno
Copy link
Member Author

Keno commented Mar 30, 2016

No, I was just comparing discrepancies with JuliaParser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parser Language parsing and surface syntax
Projects
None yet
Development

No branches or pull requests

2 participants