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

don't use Loc_None in typed_parse_in_context #1345

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

digama0
Copy link
Contributor

@digama0 digama0 commented Nov 15, 2024

This might be debatable; the issue is that using Loc_None on the outermost node causes my code to assume that the whole syntax is missing position info and skip it. Ideally one should be able to navigate the tree using spans in strict containment relationship to zoom in on a subterm, but having intermediate nodes with Loc_None spoils this. In this particular case there is a natural location to use anyway.

@mn200
Copy link
Member

mn200 commented Nov 17, 2024

Thanks; definitely a bug I think.

@mn200 mn200 merged commit e568888 into HOL-Theorem-Prover:develop Nov 17, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants