Skip to content

Commit

Permalink
Increase binding strength of TEST keyword
Browse files Browse the repository at this point in the history
Previously, it had very low binding strength (the same as elapsedTime,
etc).  We decrease its binding strength just below that of SPACE so it
will behave the same as it did when it was a method.
  • Loading branch information
d-torrance committed Sep 20, 2024
1 parent 2e00075 commit e92223c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion M2/Macaulay2/d/binding.d
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ bumpPrecedence();
export elapsedTimeS := special("elapsedTime",unaryop,precSpace,wide);
export elapsedTimingS := special("elapsedTiming",unaryop,precSpace,wide);
export shieldS := special("shield",unaryop,precSpace,wide);
export TestS := special("TEST",unaryop,precSpace,wide);
export TestS := special("TEST",unaryop,precSpace,precSpace-1);
export throwS := special("throw",nunaryop,precSpace,wide);
export returnS := special("return",nunaryop,precSpace,wide);
export breakS := special("break",nunaryop,precSpace,wide);
Expand Down

0 comments on commit e92223c

Please sign in to comment.