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

panlint: allow whitespace around annotation name #207

Closed
wants to merge 1 commit into from

Conversation

stdweird
Copy link
Member

@stdweird stdweird commented Jul 4, 2018

No description provided.

@stdweird stdweird added this to the 10.8 milestone Jul 4, 2018
@jrha
Copy link
Member

jrha commented Jul 4, 2018

Is this really desirable? There is no example of this in the compiler documentation.

@stdweird
Copy link
Member Author

stdweird commented Jul 4, 2018

it is valid pan code (it even allows for multiple newlines etc etc), as usual the code is the documentation: https://github.com/quattor/pan/blob/master/panc/src/main/jjtree/PanParser.jjt#L179
i also wouldn't encourage to use it, but i'm not sure what panlints role was again: check valid code, or force coding standard...
i'm just pointingthis out, i'm ok with not allowing it

@jrha
Copy link
Member

jrha commented Jul 5, 2018

The whole point of linting is to encourage good practice, it's the compiler's job to check syntax, I would lean towards not supporting it unless anyone can convince me it's a good idea.

@jrha jrha added the wontfix label Jul 25, 2018
@jrha jrha closed this Jul 25, 2018
@jrha jrha removed this from the 10.8 milestone Dec 10, 2024
@jrha
Copy link
Member

jrha commented Dec 10, 2024

I eventually changed my mind, see #262.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants