Skip to content

Commit 0dc822f

Browse files
committed
snapshot
1 parent 8dfc11a commit 0dc822f

File tree

3 files changed

+34
-34
lines changed

3 files changed

+34
-34
lines changed

lib/4.06.1/bsb.ml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3746,9 +3746,9 @@ module Bsb_db : sig
37463746
type case = bool
37473747

37483748
type info =
3749-
| Mli (* intemediate state *)
3750-
| Ml
3751-
| Ml_mli
3749+
| Intf (* intemediate state *)
3750+
| Impl
3751+
| Impl_intf
37523752

37533753

37543754

@@ -3816,9 +3816,9 @@ type case = bool
38163816

38173817

38183818
type info =
3819-
| Mli (* intemediate state *)
3820-
| Ml
3821-
| Ml_mli
3819+
| Intf (* intemediate state *)
3820+
| Impl
3821+
| Impl_intf
38223822

38233823
type module_info =
38243824
{
@@ -10295,7 +10295,7 @@ let merge (acc : t) (sources : t) : t =
1029510295

1029610296
let sanity_check (map : t) =
1029710297
Map_string.iter map (fun m module_info ->
10298-
if module_info.info = Mli then
10298+
if module_info.info = Intf then
1029910299
Bsb_exception.no_implementation m
1030010300
)
1030110301

@@ -10313,13 +10313,13 @@ let check (x : module_info)
1031310313
|| x.case <> case
1031410314
|| x.is_re <> is_re
1031510315
|| x_ml_info = module_info
10316-
|| x_ml_info = Ml_mli
10316+
|| x_ml_info = Impl_intf
1031710317
then
1031810318
Bsb_exception.invalid_spec
1031910319
(Printf.sprintf
1032010320
"implementation and interface have different path names or different cases %s vs %s"
1032110321
x.name_sans_extension name_sans_extension));
10322-
x.info <- Ml_mli;
10322+
x.info <- Impl_intf;
1032310323
x
1032410324

1032510325

@@ -10331,7 +10331,7 @@ let add_basename
1033110331
(map : t)
1033210332
?(error_on_invalid_suffix)
1033310333
basename : t =
10334-
let info = ref Bsb_db.Ml in
10334+
let info = ref Bsb_db.Impl in
1033510335
let is_re = ref false in
1033610336
let invalid_suffix = ref false in
1033710337
(match Ext_filename.get_extension_maybe basename with
@@ -10340,9 +10340,9 @@ let add_basename
1034010340
| ".re" ->
1034110341
is_re := true
1034210342
| ".mli" ->
10343-
info := Mli
10343+
info := Intf
1034410344
| ".rei" ->
10345-
info := Mli;
10345+
info := Intf;
1034610346
is_re := true
1034710347
| _ ->
1034810348
invalid_suffix := true
@@ -13443,7 +13443,7 @@ let emit_module_build
1344313443
namespace
1344413444
(module_info : Bsb_db.module_info)
1344513445
=
13446-
let has_intf_file = module_info.info = Ml_mli in
13446+
let has_intf_file = module_info.info = Impl_intf in
1344713447
let is_re = module_info.is_re in
1344813448
let filename_sans_extension = module_info.name_sans_extension in
1344913449
let input_impl =

lib/4.06.1/unstable/all_ounit_tests.ml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5218,9 +5218,9 @@ module Bsb_db : sig
52185218
type case = bool
52195219

52205220
type info =
5221-
| Mli (* intemediate state *)
5222-
| Ml
5223-
| Ml_mli
5221+
| Intf (* intemediate state *)
5222+
| Impl
5223+
| Impl_intf
52245224

52255225

52265226

@@ -5288,9 +5288,9 @@ type case = bool
52885288

52895289

52905290
type info =
5291-
| Mli (* intemediate state *)
5292-
| Ml
5293-
| Ml_mli
5291+
| Intf (* intemediate state *)
5292+
| Impl
5293+
| Impl_intf
52945294

52955295
type module_info =
52965296
{
@@ -7276,12 +7276,12 @@ let s_test1 s a =
72767276

72777277
let group0 = Map_string.of_list [
72787278
"Liba",
7279-
{Bsb_db.info = Ml_mli; dir= "a";is_re=false;case = false;
7279+
{Bsb_db.info = Impl_intf; dir= "a";is_re=false;case = false;
72807280
name_sans_extension = "liba"}
72817281
]
72827282
let group1 = Map_string.of_list [
72837283
"Ciba",
7284-
{Bsb_db.info = Ml_mli; dir= "b";is_re=false;case = false;
7284+
{Bsb_db.info = Impl_intf; dir= "b";is_re=false;case = false;
72857285
name_sans_extension = "liba"}
72867286
]
72877287

lib/4.06.1/unstable/bsb_native.ml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3746,9 +3746,9 @@ module Bsb_db : sig
37463746
type case = bool
37473747

37483748
type info =
3749-
| Mli (* intemediate state *)
3750-
| Ml
3751-
| Ml_mli
3749+
| Intf (* intemediate state *)
3750+
| Impl
3751+
| Impl_intf
37523752

37533753

37543754

@@ -3816,9 +3816,9 @@ type case = bool
38163816

38173817

38183818
type info =
3819-
| Mli (* intemediate state *)
3820-
| Ml
3821-
| Ml_mli
3819+
| Intf (* intemediate state *)
3820+
| Impl
3821+
| Impl_intf
38223822

38233823
type module_info =
38243824
{
@@ -10327,7 +10327,7 @@ let merge (acc : t) (sources : t) : t =
1032710327

1032810328
let sanity_check (map : t) =
1032910329
Map_string.iter map (fun m module_info ->
10330-
if module_info.info = Mli then
10330+
if module_info.info = Intf then
1033110331
Bsb_exception.no_implementation m
1033210332
)
1033310333

@@ -10345,13 +10345,13 @@ let check (x : module_info)
1034510345
|| x.case <> case
1034610346
|| x.is_re <> is_re
1034710347
|| x_ml_info = module_info
10348-
|| x_ml_info = Ml_mli
10348+
|| x_ml_info = Impl_intf
1034910349
then
1035010350
Bsb_exception.invalid_spec
1035110351
(Printf.sprintf
1035210352
"implementation and interface have different path names or different cases %s vs %s"
1035310353
x.name_sans_extension name_sans_extension));
10354-
x.info <- Ml_mli;
10354+
x.info <- Impl_intf;
1035510355
x
1035610356

1035710357

@@ -10363,7 +10363,7 @@ let add_basename
1036310363
(map : t)
1036410364
?(error_on_invalid_suffix)
1036510365
basename : t =
10366-
let info = ref Bsb_db.Ml in
10366+
let info = ref Bsb_db.Impl in
1036710367
let is_re = ref false in
1036810368
let invalid_suffix = ref false in
1036910369
(match Ext_filename.get_extension_maybe basename with
@@ -10372,9 +10372,9 @@ let add_basename
1037210372
| ".re" ->
1037310373
is_re := true
1037410374
| ".mli" ->
10375-
info := Mli
10375+
info := Intf
1037610376
| ".rei" ->
10377-
info := Mli;
10377+
info := Intf;
1037810378
is_re := true
1037910379
| _ ->
1038010380
invalid_suffix := true
@@ -13592,7 +13592,7 @@ let emit_module_build
1359213592
namespace
1359313593
(module_info : Bsb_db.module_info)
1359413594
=
13595-
let has_intf_file = module_info.info = Ml_mli in
13595+
let has_intf_file = module_info.info = Impl_intf in
1359613596
let is_re = module_info.is_re in
1359713597
let filename_sans_extension = module_info.name_sans_extension in
1359813598
let input_impl =

0 commit comments

Comments
 (0)