-
Notifications
You must be signed in to change notification settings - Fork 450
feat(oxcaml): add parameters field for libraries #12336
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
Conversation
3945c0e
to
b7624b9
Compare
b7624b9
to
a0bc8e5
Compare
488cf39
to
258df6b
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. Great work on getting on preserving the lazy loading everywhere.
1989c1d
to
8fef3ae
Compare
This looks great! I've left a few questions but they are by no means blocking. I also have another: Is it feasible for |
Thanks for the review and the fun question! I just checked, the OxCaml compiler doesn't currently support parameterizing a
|
If you rebase I can merge it once the CI is done. |
Signed-off-by: ArthurW <arthur@tarides.com>
8fef3ae
to
7f7f7dc
Compare
This PR adds a new
(parameters ...)
field to the library stanza, to define a parameterized library (see #11963). Parameterized libraries are currently only available with the OxCaml compiler, since they require a new compiler flag-parameter Name_of_parameter
(for each specified parameter) to compile the modules of the parameterized library.Fixes #12086