Skip to content

Commit 9a934cd

Browse files
riaqngoldfirere
andauthored
flambda-backend: Move the Uniqueness axis into the Monadic fragment (#2334)
* negative solver should negate error message * move uniqueness into [monadic] fragment * flatten [axis] to reduce indirection * Some small changes * Remove fragile matches * Make product-making functions less general: I don't think we'll need multiple different monadic products, and the comonadic product is just about locality-vs-regionality. Unless we're anticipating a similar situation later, I don't think we need to over-generalize. * A few more suggested changes * axis-wise zap_to_legacy * revert change; add comment. * bootstrap --------- Co-authored-by: Richard Eisenberg <[email protected]> Co-authored-by: Richard Eisenberg <[email protected]>
1 parent db11d61 commit 9a934cd

File tree

4 files changed

+320
-171
lines changed

4 files changed

+320
-171
lines changed

.depend

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2052,6 +2052,7 @@ typing/typemod.cmo : \
20522052
parsing/jane_syntax.cmi \
20532053
typing/includemod_errorprinter.cmi \
20542054
typing/includemod.cmi \
2055+
typing/includecore.cmi \
20552056
utils/import_info.cmi \
20562057
typing/ident.cmi \
20572058
typing/envaux.cmi \
@@ -2094,6 +2095,7 @@ typing/typemod.cmx : \
20942095
parsing/jane_syntax.cmx \
20952096
typing/includemod_errorprinter.cmx \
20962097
typing/includemod.cmx \
2098+
typing/includecore.cmx \
20972099
utils/import_info.cmx \
20982100
typing/ident.cmx \
20992101
typing/envaux.cmx \
@@ -2127,15 +2129,15 @@ typing/typemod.cmi : \
21272129
utils/compilation_unit.cmi \
21282130
file_formats/cmi_format.cmi
21292131
typing/typemode.cmo : \
2132+
utils/warnings.cmi \
21302133
typing/mode.cmi \
2131-
utils/misc.cmi \
21322134
parsing/location.cmi \
21332135
parsing/jane_syntax_parsing.cmi \
21342136
parsing/jane_syntax.cmi \
21352137
typing/typemode.cmi
21362138
typing/typemode.cmx : \
2139+
utils/warnings.cmx \
21372140
typing/mode.cmx \
2138-
utils/misc.cmx \
21392141
parsing/location.cmx \
21402142
parsing/jane_syntax_parsing.cmx \
21412143
parsing/jane_syntax.cmx \
@@ -2294,7 +2296,8 @@ typing/typetexp.cmi : \
22942296
typing/jkind.cmi \
22952297
parsing/jane_asttypes.cmi \
22962298
typing/errortrace.cmi \
2297-
typing/env.cmi
2299+
typing/env.cmi \
2300+
parsing/asttypes.cmi
22982301
typing/uniqueness_analysis.cmo : \
22992302
typing/types.cmi \
23002303
typing/typedtree.cmi \

boot/ocamlc

190 KB
Binary file not shown.

0 commit comments

Comments
 (0)