-
Notifications
You must be signed in to change notification settings - Fork 15
Merge 5.2.0minus-22 #191
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
Merge 5.2.0minus-22 #191
Conversation
* src/ocaml/preprocess/parser_raw.mly (Hunks 3, 4, 10) - Added new grammar rules for quotation metaprogramming (spliceable_expr, Pexp_quote, Pexp_splice) * src/ocaml/parsing/pprintast.ml (Hunk 2) - Renamed jkind constructors with Pjk_ prefix while keeping Misc_stdlib.pp_parens_if * src/ocaml/typing/env.ml (Hunks 2, 5, 17, 23) - Added stage field to environment and integrated stage tracking helpers - Added Quotation_lock | Splice_lock cases for lock walking * src/ocaml/typing/env.mli (Hunk 7) - Added stage-related function signatures alongside existing fold functions * src/ocaml/typing/outcometree.mli (Hunk 1) - Added Oval_code constructor for quoted code values * src/ocaml/typing/printtyp.ml (Hunks 2, 3) - Kept Internal_names module structure and removed conflicting definitions * src/ocaml/typing/typecore.ml (Hunks 7, 16) - Added Texp_quotation, Texp_eval expression cases - Updated allocation mode error handling * src/ocaml/typing/typedtree.ml (Hunks 1, 3) - Added three new expression constructors: Texp_quotation, Texp_antiquotation, Texp_eval - Integrated fold_antiquote functions for traversing quotations * src/ocaml/typing/typedtree.mli (Hunks 1, 3) - Added new expression constructor signatures - Added fold_antiquote_exp function signature * src/ocaml/typing/typemod.ml (Hunk 1) - Combined quotation check with empty list parameter in transl_signature call * src/ocaml/typing/typeopt.ml (Hunks 1, 4) - Removed local is_always_gc_ignorable function (moved to Ctype module) - Updated calls to use Ctype.is_always_gc_ignorable * src/ocaml/typing/typetexp.ml (Hunk 4) - Updated lookup_local signature to return (type_expr * Env.stage) tuple
Compiler Merge ChecklistThis PR seems to merge changes from Flambda. Please be sure to follow the below steps:
If this PR is not merging changes from Flambda, feel free to ignore this comment |
src/analysis/syntax_doc.ml
Outdated
| | Comonadic Forkable, Forkable -> | ||
| Some "Values with this mode can be forked to other threads" | ||
| | Comonadic Forkable, Unforkable -> | ||
| Some "Values with this mode cannot be forked to other threads" |
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.
I think Claude's made these decriptions up, I'm not sure if they're correct.
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.
I'll chase someone down to write something here because I'm not sure either.
liam923
left a comment
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.
mostly looks good
89e6d60 to
c7ff04e
Compare
Co-authored-by: Max Slater <max@thenumb.at>
c7ff04e to
a9e32a2
Compare
I let Claude do all the conflict and compilation error fixing.
I imported
CamlinternalQuote, otherwise this won't build without OxCaml. The Merlin devs should probably think about where this file should go in the future, but this should suffice for now I hope.I also renamed "flambda-backend" -> "oxcaml" in the source import script.