-
Notifications
You must be signed in to change notification settings - Fork 338
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
Name hygiene in expanded structure command #793
Comments
Hygiene of compound identifiers is not something we have really tackled yet (and for which we can't defer to Racket). Not sure when we'll get to it, there are a few fundamental issues to solve/decide on. |
That is, this specific issue is simple to solve I believe. The hard part is to make |
I fixed the issue above.
The only one that does not work yet is |
At least for my application, this was enough. I could remove the |
mathlib3 sha 4e42a9d0a79d151ee359c270e498b1a00cc6fa4e - [x] depends on: leanprover#792 - [x] depends on: leanprover-community/mathlib4#800 Co-authored-by: Scott Morrison <scott.morrison@gmail.com> Co-authored-by: Ruben Van de Velde <65514131+Ruben-VandeVelde@users.noreply.github.com> Co-authored-by: ChrisHughes24 <chrishughes24@gmail.com>
Prerequisites
Description
When a macro expands to a structure, name resolution fails in fields with dependent types.
Steps to Reproduce
Expected behavior:
foo
declares the structureFoo
Actual behavior:
foo
fails withunknown identifier 'val✝'
Versions
Nightly from November 12.
The text was updated successfully, but these errors were encountered: