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

fix(staged_pps): expand path relative to root #8159

Merged
merged 1 commit into from
Jul 11, 2023
Merged

Conversation

emillon
Copy link
Collaborator

@emillon emillon commented Jul 10, 2023

Fixes #8158

This is an error introduced in #8109, not part of a release.

@emillon emillon requested a review from rgrinberg July 10, 2023 13:41
@emillon emillon mentioned this pull request Jul 10, 2023
10 tasks
@Alizter
Copy link
Collaborator

Alizter commented Jul 10, 2023

Doesn't have to be in this PR, but do we not have any tests touching this? It would be good to have some for the future at least.

@emillon
Copy link
Collaborator Author

emillon commented Jul 10, 2023

We have tests but only with libs at the root. This one is on me; I checked that dir and ctx.dir were equal in the test suite so I tried to simplify it further but that assertion doesn't hold in general.

Copy link
Member

@rgrinberg rgrinberg left a comment

Choose a reason for hiding this comment

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

A test would be useful indeed

Copy link
Member

@rgrinberg rgrinberg left a comment

Choose a reason for hiding this comment

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

A test would be useful indeed

@emillon
Copy link
Collaborator Author

emillon commented Jul 10, 2023

Done in #8165.

@emillon
Copy link
Collaborator Author

emillon commented Jul 10, 2023

Rebased on top of the failing test; this shows the fix.

Fixes ocaml#8158

This is an error introduced in ocaml#8109, not part of a release.

Signed-off-by: Etienne Millon <[email protected]>
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.

regression: staged_pps in main
3 participants