这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
308 commits
Select commit Hold shift + click to select a range
ed2cf5f
merge
smjleo Jul 18, 2025
7452b18
format
smjleo Jul 18, 2025
e3aad1f
merge
smjleo Jul 18, 2025
52c24e7
leave CR about metadata
smjleo Jul 18, 2025
d9c0db1
simplify imports
smjleo Jul 21, 2025
9d22835
remove qualifications
smjleo Jul 21, 2025
f748ea2
Merge branch 'selee.jsir-translation-stub' of github.com:oxcaml/oxcam…
smjleo Jul 21, 2025
fa93718
WIP closures
smjleo Jul 21, 2025
a8b7a3f
basic support for closures
smjleo Jul 22, 2025
76cba5c
process static lets twice
smjleo Jul 22, 2025
3cbaba0
janky apply
smjleo Jul 23, 2025
68feae3
fix fold order
smjleo Jul 23, 2025
d57ac09
Merge branch 'selee.jsir-translation-stub' of github.com:oxcaml/oxcam…
smjleo Jul 23, 2025
7e2a662
sweep up symbols before translating to support recursive closures
smjleo Jul 23, 2025
6ce67a6
Merge branch 'selee.jsir-dump-file' of github.com:oxcaml/oxcaml into …
smjleo Jul 23, 2025
37ef65e
remove CR
smjleo Jul 23, 2025
8961268
define continuations properly
smjleo Jul 23, 2025
eccc130
implement proper CPS for apply
smjleo Jul 23, 2025
02fbe92
pass highest var in .cmj file
smjleo Jul 24, 2025
55f6ea3
Merge branch 'selee.jsir-dump-file' of github.com:oxcaml/oxcaml into …
smjleo Jul 24, 2025
ae92409
Merge branch 'selee.jsir-closures' of github.com:oxcaml/oxcaml into s…
smjleo Jul 24, 2025
951d324
recursive continuations
smjleo Jul 24, 2025
6cf109a
refactor
smjleo Jul 24, 2025
f3d6d36
Merge branch 'selee.jsir-closures' of github.com:oxcaml/oxcaml into s…
smjleo Jul 24, 2025
d9ae707
Merge branch 'selee.jsir-apply' of github.com:oxcaml/oxcaml into sele…
smjleo Jul 24, 2025
40ac92a
typo
smjleo Jul 24, 2025
e574856
handle invariant params
smjleo Jul 24, 2025
8f70ea5
avoid using closures
smjleo Jul 24, 2025
1b69bbe
merge
smjleo Jul 24, 2025
6016653
fix build errors
smjleo Jul 24, 2025
a6c3b90
fix recursive continuations
smjleo Jul 24, 2025
8c6a601
cleanup
smjleo Jul 24, 2025
566a2d9
cleanup
smjleo Jul 24, 2025
8b40026
cleanup
smjleo Jul 24, 2025
a6a4880
merge
smjleo Jul 24, 2025
126f194
edit comment
smjleo Jul 24, 2025
39a5eae
Merge branch 'selee.jsir-apply' of github.com:oxcaml/oxcaml into sele…
smjleo Jul 24, 2025
f5d564b
implement switches
smjleo Jul 24, 2025
0403fa7
WIP primitives
smjleo Jul 25, 2025
c0192f9
get rid of negative arm cases
smjleo Jul 25, 2025
83e74c6
Merge branch 'selee.jsir-switch' of github.com:oxcaml/oxcaml into sel…
smjleo Jul 25, 2025
3113396
generate conds for special case
smjleo Jul 25, 2025
9d37182
Merge branch 'selee.jsir-switch' of github.com:oxcaml/oxcaml into sel…
smjleo Jul 25, 2025
73de70a
archived_blocks -> complete_blocks
smjleo Jul 25, 2025
aa8641d
Merge branch 'selee.jsir-translation-stub' of github.com:oxcaml/oxcam…
smjleo Jul 25, 2025
8822133
merge
smjleo Jul 25, 2025
9a94627
Merge branch 'selee.jsir-closures' of github.com:oxcaml/oxcaml into s…
smjleo Jul 25, 2025
278088e
merge
smjleo Jul 25, 2025
cf2c91f
merge
smjleo Jul 25, 2025
a7328a6
Merge branch 'selee.jsir-switch' of github.com:oxcaml/oxcaml into sel…
smjleo Jul 25, 2025
e953bd4
output a marshaled record instead
smjleo Jul 25, 2025
aff5e4c
call runtime function for invalid switch arms
smjleo Jul 25, 2025
744c01e
WIP primitives
smjleo Jul 25, 2025
1411d7b
0 is false not true
smjleo Jul 25, 2025
8a474fe
Merge branch 'selee.jsir-switch' of github.com:oxcaml/oxcaml into sel…
smjleo Jul 25, 2025
0060b7b
WIP
smjleo Jul 25, 2025
55eeed0
merge
smjleo Jul 25, 2025
ebca814
merge
smjleo Jul 25, 2025
c029688
WIP
smjleo Jul 28, 2025
fb8ddf3
address comments
smjleo Jul 28, 2025
0351a8b
Merge branch 'selee.jsir-from-flambda2' of github.com:oxcaml/oxcaml i…
smjleo Jul 28, 2025
72ea7d8
address review
smjleo Jul 28, 2025
fbd0387
fix
smjleo Jul 28, 2025
b47ec1f
change variable names
smjleo Jul 28, 2025
5fdf855
merge
smjleo Jul 28, 2025
be63444
no printing
smjleo Jul 28, 2025
35aa023
WIP
smjleo Jul 28, 2025
f0b6215
Merge branch 'selee.jsir-recursive-continuations' of github.com:oxcam…
smjleo Jul 28, 2025
3b1b7d7
Merge branch 'selee.jsir-apply' of github.com:oxcaml/oxcaml into sele…
smjleo Jul 28, 2025
fe4a043
Merge branch 'selee.jsir-recursive-continuations' of github.com:oxcam…
smjleo Jul 28, 2025
f2ab1c8
Merge branch 'selee.jsir-switch' of github.com:oxcaml/oxcaml into sel…
smjleo Jul 28, 2025
4133d2f
Merge branch 'selee.jsir-more-primitives' of github.com:oxcaml/oxcaml…
smjleo Jul 28, 2025
8ce334c
exceptions
smjleo Jul 29, 2025
0a3bd50
WIP untested
smjleo Jul 30, 2025
81962f7
works?
smjleo Jul 31, 2025
72e0fab
changes
smjleo Aug 1, 2025
3becd17
add CR
smjleo Aug 1, 2025
38b2e4f
change evaluation order
smjleo Aug 1, 2025
d7888e8
add parameter
smjleo Aug 1, 2025
554a885
merge
smjleo Aug 1, 2025
ab0efe4
edit comment
smjleo Aug 1, 2025
8fd23f7
WIP
smjleo Aug 1, 2025
01c5006
fix comment
smjleo Aug 4, 2025
43b4111
Merge branch 'selee.jsir-let-cont-eval-order' of github.com:oxcaml/ox…
smjleo Aug 4, 2025
ac40483
edit comment
smjleo Aug 4, 2025
600cea2
Merge branch 'selee.jsir-exceptions-extra-args' of github.com:oxcaml/…
smjleo Aug 4, 2025
f4f8a9c
Merge branch 'selee.jsir-exceptions-extra-args' of github.com:oxcaml/…
smjleo Aug 4, 2025
ae71cc8
add jsir flag in clflags
smjleo Aug 4, 2025
c72d8c1
add oclassic
smjleo Aug 4, 2025
d69967c
shuffle order
smjleo Aug 4, 2025
7b1b1b0
Merge branch 'selee.jsir-let-cont-eval-order' of github.com:oxcaml/ox…
smjleo Aug 4, 2025
dffb8b3
WIP
smjleo Aug 4, 2025
3d1aeed
use helper errors
smjleo Aug 4, 2025
041b76d
WIP
smjleo Aug 4, 2025
2f36f77
cleanup
smjleo Aug 4, 2025
3433137
WIP
smjleo Aug 4, 2025
c6e21c9
WIP
smjleo Aug 5, 2025
cc8f899
remove CR
smjleo Aug 5, 2025
697ea1b
some no-ops should be identities
smjleo Aug 5, 2025
1f30469
num_conv
smjleo Aug 5, 2025
ae8faec
fix
smjleo Aug 5, 2025
ab1fe8e
reorganise
smjleo Aug 5, 2025
2772c21
add missing primitives
smjleo Aug 6, 2025
905d1f0
add more static consts
smjleo Aug 6, 2025
c809526
handle block access kinds properly
smjleo Aug 6, 2025
1362254
Merge branch 'selee.jsir-even-more-primitives' of github.com:oxcaml/o…
smjleo Aug 6, 2025
037e2e8
add external module symbols
smjleo Aug 6, 2025
dff68b9
disallow variables in static consts
smjleo Aug 7, 2025
535b82f
error on variables in static const
smjleo Aug 7, 2025
363f648
Merge branch 'selee.jsir-static-consts' of github.com:oxcaml/oxcaml i…
smjleo Aug 7, 2025
e64ed2a
a hack
smjleo Aug 7, 2025
17d7c8e
address reviews
smjleo Aug 7, 2025
3450e2a
load symbols only as needed
smjleo Aug 8, 2025
e87ad65
WIP
smjleo Aug 8, 2025
7a5a6e3
merge
smjleo Aug 8, 2025
6fcf761
Merge branch 'selee.jsir-recursive-continuations' of github.com:oxcam…
smjleo Aug 8, 2025
87cf1a2
Merge branch 'selee.jsir-switch' of github.com:oxcaml/oxcaml into sel…
smjleo Aug 8, 2025
ac4b8b2
Merge branch 'selee.jsir-more-primitives' of github.com:oxcaml/oxcaml…
smjleo Aug 8, 2025
5dc36cc
Merge branch 'selee.jsir-exceptions' of github.com:oxcaml/oxcaml into…
smjleo Aug 8, 2025
a69a361
Merge branch 'selee.jsir-exceptions-extra-args' of github.com:oxcaml/…
smjleo Aug 8, 2025
ab50629
Merge branch 'selee.jsir-let-cont-eval-order' of github.com:oxcaml/ox…
smjleo Aug 8, 2025
e6ffc99
merge
smjleo Aug 8, 2025
2b1060d
revert prim changes
smjleo Aug 8, 2025
160a8ee
Merge branch 'selee.jsir-even-more-primitives' of github.com:oxcaml/o…
smjleo Aug 8, 2025
fd2be1d
merge
smjleo Aug 8, 2025
fb8a78e
handle my closures
smjleo Aug 8, 2025
8bfe5d2
get rid of debug outputs
smjleo Aug 8, 2025
9034aaf
fix
smjleo Aug 11, 2025
da8f4cf
clean up diff
smjleo Aug 11, 2025
e1581ed
add empty arrays
smjleo Aug 11, 2025
75a53d5
adjust branch
smjleo Aug 11, 2025
1b75631
fix
smjleo Aug 11, 2025
795e11b
merge
smjleo Aug 11, 2025
9f88488
add immutable value array
smjleo Aug 11, 2025
7ac6475
disable inlining
smjleo Aug 11, 2025
2a9d782
shift right fix
smjleo Aug 13, 2025
320584e
Merge branch 'selee.jsir-even-more-primitives' of github.com:oxcaml/o…
smjleo Aug 13, 2025
0a5fea8
undo flambda changes
smjleo Aug 13, 2025
fbb26cd
support non-constant static consts
smjleo Aug 13, 2025
f1dadb8
refactoring
smjleo Aug 13, 2025
bfd3afd
ocamlformat
smjleo Aug 13, 2025
c9c035e
disable inlining
smjleo Aug 11, 2025
9aeae03
add empty arrays
smjleo Aug 11, 2025
65ac14b
adjust branch
smjleo Aug 11, 2025
51e5289
fix
smjleo Aug 11, 2025
1ba8997
add immutable value array
smjleo Aug 11, 2025
5c8e473
fix bugs
smjleo Aug 11, 2025
9d2ada9
merge
smjleo Aug 13, 2025
eec9798
get rid of my_closure related things
smjleo Aug 13, 2025
976cb98
edit comment
smjleo Aug 13, 2025
c68dec4
typo
smjleo Aug 13, 2025
a68cf18
handle my closures by preemptively creating fresh closure variables
smjleo Aug 13, 2025
9c05427
merge
smjleo Aug 13, 2025
3227c32
we should register slots too
smjleo Aug 13, 2025
1486202
merge
smjleo Aug 13, 2025
d7b9453
Merge branch 'selee.jsir-my-closure' of github.com:oxcaml/oxcaml into…
smjleo Aug 13, 2025
5016840
symbols too
smjleo Aug 13, 2025
48b7e01
merge
smjleo Aug 13, 2025
4aaa0cc
Merge branch 'selee.jsir-code-id-scope' of github.com:oxcaml/oxcaml i…
smjleo Aug 13, 2025
749781e
merge
smjleo Aug 13, 2025
320ef33
fix
smjleo Aug 13, 2025
69dd09c
Merge branch 'selee.jsir-disable-inlining' of github.com:oxcaml/oxcam…
smjleo Aug 14, 2025
1f50bea
address reviews
smjleo Aug 14, 2025
90367df
address reviews
smjleo Aug 14, 2025
3588e19
that shouldn't be there
smjleo Aug 14, 2025
19ec7e8
oops
smjleo Aug 14, 2025
d61082b
revert back method disabling
smjleo Aug 14, 2025
375b99a
no need to check whether symbol exists
smjleo Aug 14, 2025
da0bb19
merge
smjleo Aug 14, 2025
7b36880
Merge branch 'selee.jsir-let-cont-eval-order' of github.com:oxcaml/ox…
smjleo Aug 14, 2025
1c5cf5e
Merge branch 'selee.jsir-o3' of github.com:oxcaml/oxcaml into selee.j…
smjleo Aug 14, 2025
9893907
Merge branch 'selee.jsir-even-more-primitives' of github.com:oxcaml/o…
smjleo Aug 14, 2025
e6ea592
Merge branch 'selee.jsir-static-consts' of github.com:oxcaml/oxcaml i…
smjleo Aug 14, 2025
78fd473
Merge branch 'selee.jsir-code-id-scope' of github.com:oxcaml/oxcaml i…
smjleo Aug 14, 2025
2a78cb6
merge
smjleo Aug 15, 2025
1c2c07d
Merge branch 'selee.jsir-from-flambda2' of github.com:oxcaml/oxcaml i…
smjleo Aug 15, 2025
3d6a565
Merge branch 'selee.jsir-even-more-primitives' of github.com:oxcaml/o…
smjleo Aug 15, 2025
171a7c0
Merge branch 'selee.jsir-static-consts' of github.com:oxcaml/oxcaml i…
smjleo Aug 15, 2025
f47a707
Merge branch 'selee.jsir-code-id-scope' of github.com:oxcaml/oxcaml i…
smjleo Aug 15, 2025
c31e65f
Merge branch 'selee.jsir-my-closure' of github.com:oxcaml/oxcaml into…
smjleo Aug 15, 2025
e8ea8a7
WIP
smjleo Aug 14, 2025
37b969b
WIP
smjleo Aug 14, 2025
da3b1a0
Merge branch 'selee.jsir-targetint-actually-32' of github.com:oxcaml/…
smjleo Aug 15, 2025
8acb80d
format
smjleo Aug 15, 2025
4e155f6
Merge branch 'selee.jsir-targetint-actually-32' of github.com:oxcaml/…
smjleo Aug 15, 2025
4586a7a
remove CR
smjleo Aug 15, 2025
59458aa
Merge branch 'selee.jsir-my-closure' of github.com:oxcaml/oxcaml into…
smjleo Aug 15, 2025
ff7a0df
Merge branch 'selee.jsir-targetint-actually-32' of github.com:oxcaml/…
smjleo Aug 15, 2025
6b430f2
properly add invalid primitive
smjleo Aug 15, 2025
d57ca7d
targetint -> targetint_32_64
smjleo Aug 15, 2025
18ef4b2
Merge branch 'selee.jsir-targetint-actually-32' of github.com:oxcaml/…
smjleo Aug 15, 2025
458dc5c
merge
smjleo Aug 18, 2025
3346fde
optional arguments fix
smjleo Aug 18, 2025
a2b2561
clean up diff
smjleo Aug 18, 2025
39d6425
better errors
smjleo Aug 18, 2025
bacc097
better comments
smjleo Aug 18, 2025
95fabcd
improve comment for primitive check
smjleo Aug 18, 2025
68dcaa7
WIP
smjleo Aug 18, 2025
58e90ba
WIP
smjleo Aug 19, 2025
0fbb221
licensing rearrangements
smjleo Aug 19, 2025
7b0f038
add git readme
smjleo Aug 19, 2025
486fb30
don't rename
smjleo Aug 19, 2025
e4c1c79
Merge branch 'selee.jsir-licensing' of github.com:oxcaml/oxcaml into …
smjleo Aug 19, 2025
52e569a
debuginfo wip
smjleo Aug 19, 2025
71bbb7b
format
smjleo Aug 19, 2025
0f5138a
bugfix
smjleo Aug 20, 2025
e6c6064
extra_args for apply_cont
smjleo Aug 20, 2025
8916616
format
smjleo Aug 20, 2025
2ae3780
WIP
smjleo Aug 21, 2025
aec5463
move things around
smjleo Aug 21, 2025
bd7dd7c
Merge branch 'selee.jsir-targetint-32' of github.com:oxcaml/oxcaml in…
smjleo Aug 21, 2025
f770796
fix method calls
smjleo Aug 21, 2025
67db48b
remove CR
smjleo Aug 21, 2025
7e98c30
refactor
smjleo Aug 21, 2025
3af5d3e
merge
smjleo Aug 21, 2025
9c4902c
more primitive fixes
smjleo Aug 21, 2025
5aa3991
use bytecode external functions rather than native
smjleo Aug 22, 2025
4e594aa
Merge branch 'selee.jsir-use-bytecode-c-functions' of github.com:oxca…
smjleo Aug 22, 2025
2d9e2d0
change
smjleo Aug 22, 2025
956f175
oops
smjleo Aug 22, 2025
7c4c5d1
unused arg
smjleo Aug 22, 2025
f5aa571
Merge branch 'selee.jsir-use-bytecode-c-functions' of github.com:oxca…
smjleo Aug 22, 2025
bd3c4c6
use runtime functions for sys consts
smjleo Aug 22, 2025
48685be
merge
smjleo Aug 22, 2025
8324354
address reviews
smjleo Aug 22, 2025
4d4f900
wrong module name
smjleo Aug 22, 2025
86a55d5
Merge branch 'selee.jsir-sys-consts' of github.com:oxcaml/oxcaml into…
smjleo Aug 22, 2025
8c5200d
primitive fixes
smjleo Aug 22, 2025
86a947e
spurious change?
smjleo Aug 22, 2025
2512269
Merge branch 'selee.jsir-fix-primitives' of github.com:oxcaml/oxcaml …
smjleo Aug 22, 2025
cf1fee4
check lambda flags
smjleo Aug 22, 2025
29a3aca
more lambda flag
smjleo Aug 22, 2025
5bfab6b
Merge branch 'selee.jsir-native-code-flag' of github.com:oxcaml/oxcam…
smjleo Aug 22, 2025
d0d459a
format
smjleo Aug 22, 2025
5b48f01
Merge branch 'selee.jsir-native-code-flag' of github.com:oxcaml/oxcam…
smjleo Aug 22, 2025
9d55cbb
format
smjleo Aug 22, 2025
3d5de52
Merge branch 'selee.jsir-native-code-flag' of github.com:oxcaml/oxcam…
smjleo Aug 22, 2025
1586964
address CRs
smjleo Aug 25, 2025
043af56
use cmjx instead of cmx
smjleo Aug 27, 2025
9d9c701
spurious formatting diffs
smjleo Aug 27, 2025
9b1e37b
change version
smjleo Aug 27, 2025
31147dd
formatting
smjleo Aug 27, 2025
c34718f
use existing warning instead
smjleo Aug 27, 2025
0270343
just use original variant
smjleo Aug 27, 2025
3f891fa
fix dependency ordering for dynlink
smjleo Aug 28, 2025
2e8f408
Revert "fix dependency ordering for dynlink"
smjleo Sep 2, 2025
5f35e99
Revert "just use original variant"
smjleo Sep 2, 2025
9b552de
label warning arguments
smjleo Sep 2, 2025
6944bb5
formatting
smjleo Sep 2, 2025
a7674a8
Merge branch 'selee.jsir-from-flambda2' into selee.jsir-produce-cmjx
smjleo Sep 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion driver/jscompile.ml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ let to_jsir i Typedtree.{ structure; coercion; argument_interface; _ }
raw_lambda_to_jsir i raw_lambda ~as_arg_for
in
Compilenv.save_unit_info
(Unit_info.Artifact.filename (Unit_info.cmx i.target))
(Unit_info.Artifact.filename (Unit_info.cmjx i.target))
~main_module_block_format ~arg_descr;
jsir

Expand Down
17 changes: 13 additions & 4 deletions middle_end/compilenv.ml
Original file line number Diff line number Diff line change
Expand Up @@ -169,19 +169,28 @@ let get_unit_info comp_unit =
let (infos, crc) =
if Env.is_imported_opaque (CU.name comp_unit) then (None, None)
else begin
let missing_extension =
match !Clflags.jsir with
| false -> "cmx"
| true -> "cmjx"
in
try
let filename =
Load_path.find_normalized
(CU.base_filename comp_unit ^ ".cmx") in
(CU.base_filename comp_unit ^ "." ^ missing_extension) in
let (ui, crc) = read_unit_info filename in
if not (CU.equal ui.ui_unit comp_unit) then
raise(Error(Illegal_renaming(comp_unit, ui.ui_unit, filename)));
cache_zero_alloc_info ui.ui_zero_alloc_info;
(Some ui, Some crc)
with Not_found ->
let warn = Warnings.No_cmx_file (Global_module.Name.to_string name) in
Location.prerr_warning Location.none warn;
(None, None)
let warn =
Warnings.No_cmx_file
{ missing_extension
; module_name = Global_module.Name.to_string name }
in
Location.prerr_warning Location.none warn;
(None, None)
end
in
let import = Import_info.create_normal comp_unit ~crc in
Expand Down
2 changes: 2 additions & 0 deletions parsing/unit_info.ml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ let cmti f = mk_artifact ".cmti" f
let cms f = mk_artifact ".cms" f
let cmsi f = mk_artifact ".cmsi" f
let cmj f = mk_artifact ".cmj" f
let cmja f = mk_artifact ".cmja" f
let cmjx f = mk_artifact ".cmjx" f
let annot f = mk_artifact ".annot" f

let companion_obj f = companion_artifact Config.ext_obj f
Expand Down
2 changes: 2 additions & 0 deletions parsing/unit_info.mli
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ val cmti: t -> Artifact.t
val cms: t -> Artifact.t
val cmsi: t -> Artifact.t
val cmj: t -> Artifact.t
val cmja : t -> Artifact.t
val cmjx : t -> Artifact.t
val annot: t -> Artifact.t

(** The functions below change the type of an artifact by updating the
Expand Down
11 changes: 7 additions & 4 deletions utils/warnings.ml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ type t =
| Inlining_impossible of string (* 55 *)
| Unreachable_case (* 56 *)
| Ambiguous_var_in_pattern_guard of string list (* 57 *)
| No_cmx_file of string (* 58 *)
| No_cmx_file of
{ missing_extension : string;
module_name : string } (* 58 *)
| Flambda_assignment_to_non_mutable_value (* 59 *)
| Unused_module of string (* 60 *)
| Unboxable_type_in_prim_decl of string (* 61 *)
Expand Down Expand Up @@ -1148,10 +1150,11 @@ let message = function
Only the first match will be used to evaluate the guard expression.\n\
%a"
vars_explanation Misc.print_see_manual ref_manual
| No_cmx_file name ->
| No_cmx_file { missing_extension; module_name } ->
Printf.sprintf
"no cmx file was found in path for module %s, \
and its interface was not compiled with -opaque" name
"no %s file was found in path for module %s, \
and its interface was not compiled with -opaque"
missing_extension module_name
| Flambda_assignment_to_non_mutable_value ->
"A potential assignment to a non-mutable value was detected \n\
in this source file. Such assignments may generate incorrect code \n\
Expand Down
4 changes: 3 additions & 1 deletion utils/warnings.mli
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ type t =
| Inlining_impossible of string (* 55 *)
| Unreachable_case (* 56 *)
| Ambiguous_var_in_pattern_guard of string list (* 57 *)
| No_cmx_file of string (* 58 *)
| No_cmx_file of
{ missing_extension : string;
module_name : string } (* 58 *)
| Flambda_assignment_to_non_mutable_value (* 59 *)
| Unused_module of string (* 60 *)
| Unboxable_type_in_prim_decl of string (* 61 *)
Expand Down
Loading