-
Notifications
You must be signed in to change notification settings - Fork 465
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
Antiquotation types silently ignore tokens #1275
Comments
I'm not sure what the takeaway here is:
|
This comes back to the old issue of tokens being ignored in syntax patterns. How about something like the following:
|
More conservatively, we could also say whenever The same should presumably also apply to unicode symbols. |
Yes, that would probably be a better heuristic! |
The last underscore has type
TSyntax `ident
, which suggests that only identifiers are valid to insert here.This just majorly confused me in leanprover-community/mathport#152.
To clarify: I would expect a type like
TSyntax [`ident, `token.«_»]
.Versions
Nightly from July 2, as well as the relaxed antiquotations branch.
The text was updated successfully, but these errors were encountered: