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

Capture the correct loc for when an import fails. #739

Merged
merged 2 commits into from
Feb 20, 2024
Merged

Conversation

rtetley
Copy link
Collaborator

@rtetley rtetley commented Feb 20, 2024

Explicit the corresponding errors and get the loc from the qualid, which solves a silly display bug.

Explicit the corresponding errors and get the loc from
the qualid, which solves a silly display bug.
@rtetley rtetley requested a review from gares February 20, 2024 08:30
Copy link
Member

@gares gares left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please make a toplevel get_loc_from_info_or_exn factoring the code which is needed on 8.18, 8.19 but not master (on master it will be Loc.get_loc info)

@rtetley
Copy link
Collaborator Author

rtetley commented Feb 20, 2024

Added the optcomp, and created coq/coq#18694 correcting the coq API

@rtetley
Copy link
Collaborator Author

rtetley commented Feb 20, 2024

@gares is this okay ?

@rtetley rtetley requested a review from gares February 20, 2024 13:50
@rtetley rtetley merged commit 367317b into main Feb 20, 2024
16 checks passed
@rtetley rtetley deleted the lib-error-loc branch March 21, 2024 09:24
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