Skip to content
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

Preserve locations in type checking #2996

Open
lukaszcz opened this issue Sep 5, 2024 · 0 comments
Open

Preserve locations in type checking #2996

lukaszcz opened this issue Sep 5, 2024 · 0 comments

Comments

@lukaszcz
Copy link
Collaborator

lukaszcz commented Sep 5, 2024

The locations are currently not preserved when substituting holes. The location of the hole should be preserved, but instead we preserve the location of the expression substituted into the hole. This can mess up location in error messaging and in the translation to Isabelle/HOL.

The PR

provides a partial fix by adjusting the location of identifiers substituted into holes, but it doesn't adjust the locations of more complex expressions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants