-
Notifications
You must be signed in to change notification settings - Fork 713
feat: let by have the arg precedence
#11455
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
base: master
Are you sure you want to change the base?
Conversation
|
changelog-language |
|
Reference manual CI status:
|
|
Mathlib CI status (docs):
|
| register_parser_alias attrKind | ||
| register_parser_alias optSemicolon | ||
| register_parser_alias structInstFields | ||
|
|
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.
Just add an alias here for termBeforeBy
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.
Does that require some kind of stage0 update? I.e. would it be easier to split that change out to a separate PR?
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.
Oh right, I forgot. In that case, you can add the alias but keep the #check_tactic parser as you have now, and then we can clean it up after a stage0 update (but also edit stage0/src/stdlib_flags.h to trigger a stage0 update)
|
It seems that a test in mathlib is breaking for the same reason as some tests over here. To avoid having to change the imports in the test file, should this PR be split up with a stage0 in between? The first part would be just initializing the |
|
Hmm right, that might be simpler than doing all of the changes with |
|
All right, I have made #11495 |
This PR changes the precedence of
byto theargprecedence. This means that it can be used as an argument directly, e.gh.trans by simpinstead ofh.trans <| by simp.The source code claims that
byalready has theargprecedence: