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

No whitespace around infix ops: 1<2 (trap) #1481

Closed
AlexDaniel opened this issue Aug 31, 2017 · 2 comments
Closed

No whitespace around infix ops: 1<2 (trap) #1481

AlexDaniel opened this issue Aug 31, 2017 · 2 comments
Labels
docs Documentation issue (primary issue type) trap

Comments

@AlexDaniel
Copy link
Member

say 1<2
===SORRY!=== Error while compiling -e
Whitespace required before < operator
at -e:1
------> say 1<2⏏<EOL>
    expecting any of:
        postfix

The error message is already awesome, but this was mentioned in “Well Thought-Out Practices for Perl 6” repo with good intent, so maybe we can have a little section for it too. We already mention some of the whitespace issues, so it is going to fit there perfectly.

@AlexDaniel AlexDaniel added the docs Documentation issue (primary issue type) label Aug 31, 2017
AlexDaniel added a commit that referenced this issue Sep 1, 2017
@AlexDaniel
Copy link
Member Author

Would that be enough? Or do we want some special mention of the whole issue?

@AlexDaniel
Copy link
Member Author

IMO it's enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation issue (primary issue type) trap
Projects
None yet
Development

No branches or pull requests

1 participant