-
Notifications
You must be signed in to change notification settings - Fork 104
Downstreams for renaming #3828
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
Downstreams for renaming #3828
Conversation
75efadc
to
5076bb0
Compare
5076bb0
to
919b045
Compare
@lukemaurer what do you think would be the best way to handle the additionnal information in bcfebba ? In the upstream compiler, we now store a |
29f9e96
to
6f67595
Compare
4de6e71
to
1cf2d36
Compare
@lukemaurer I'd like to discuss the |
7ca7182
to
cb9cf1d
Compare
Hmm. I think it would make more sense to do what we've been intending to do for a while and have (Ultimately I'm not sure that |
Discussed this with @mshinwell. I think putting a Concretely, what I propose is:
(* the existing constructor, which will need the pack prefix to create a [Compilation_unit.t] *)
val make: ?check_modname:bool -> source_file:filename -> for_pack_prefix:Compilation_unit.Prefix.t -> intf_or_impl -> file_prefix -> t
(* a new constructor, which already knows the [Compilation_unit.t] *)
val of_compilation_unit: source_file:filename -> output_prefix:file_prefix -> kind:intf_or_impl -> Compilation_unit.t -> t
I think this gets us to where things make good sense now and are not very different from upstream. There's still a bit of overlap in functionality between |
This proposal is what became #3926. |
[tooling] Distinct uids for interfaces
[tooling] Remember linked declarations
cb9cf1d
to
c32dd7b
Compare
c32dd7b
to
53f76f1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (with one formatting concern) as we're just concerned with differences from the upstream patches (most of which was smoothed over by the other PR).
* Merge pull request #13286 from voodoos/distinct-uids-for-interfaces [tooling] Distinct uids for interfaces * Merge pull request #13308 from voodoos/link-declarations [tooling] Remember linked declarations * Store declaration dependencies in CMS files * Backport directionality fix from upstream ocaml/ocaml#13956 * Undo format change (cherry picked from commit 87a4cec)
Uh oh!
There was an error while loading. Please reload this page.