Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add trap: prefix minus / method op precedence
- Loading branch information
1 parent
001f65c
commit 0f2c5c3
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0f2c5c3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW, this makes it sound like there's something special about prefix minus, but this precedence setup affects all prefix ops and you can effect a different treatment by detaching the method (only alphanumeric methods can be detached):