Skip to content

locate: Restore behavior of 413 branch with regard to module packs#1456

Closed
voodoos wants to merge 5 commits intoocaml:masterfrom
voodoos:warnings
Closed

locate: Restore behavior of 413 branch with regard to module packs#1456
voodoos wants to merge 5 commits intoocaml:masterfrom
voodoos:warnings

Conversation

@voodoos
Copy link
Copy Markdown
Collaborator

@voodoos voodoos commented Apr 11, 2022

Re-enabling the warnings highlighted a few weird things in the new implementation for locate.
This PR fixes these and restore some support for packs (it is still a bit broken, as it was with the previous implementation).

@voodoos voodoos force-pushed the warnings branch 2 times, most recently from 4391ea6 to c32fbd6 Compare April 11, 2022 14:47
Copy link
Copy Markdown
Contributor

@trefis trefis left a comment

Choose a reason for hiding this comment

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

Do I understand correctly that the fix is to look at Mconfig.cmt_path again, instead of just build_path (which is what Load_path does)?

@voodoos
Copy link
Copy Markdown
Collaborator Author

voodoos commented Apr 12, 2022

Do I understand correctly that the fix is to look at Mconfig.cmt_path again, instead of just build_path (which is what Load_path does)?

Yes

@ocaml ocaml deleted a comment from voodoos Apr 13, 2022
@ocaml ocaml deleted a comment from voodoos Apr 13, 2022
@voodoos voodoos added this to the 4.6 / 3.8 milestone Jun 24, 2022
@voodoos voodoos force-pushed the warnings branch 4 times, most recently from dffb0a5 to fa79376 Compare June 28, 2022 14:45
voodoos and others added 5 commits June 28, 2022 16:49
Restore usage of `cmt_path`
Don't use move_to when reducing shapes
Remove unused `Context.inspect` call

Co-authored-by: trefis <thomas.refis@gmail.com>
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