@@ -224,9 +224,9 @@ function find_in_path_uncap(path, name) {
224
224
var dir = param[0];
225
225
var fullname = Filename.concat(dir, name);
226
226
var ufullname = Filename.concat(dir, uname);
227
- if (Caml_missing_polyfill.not_implemented("caml_sys_file_exists not implemented by bucklescript yet\n ")) {
227
+ if (Caml_missing_polyfill.not_implemented("caml_sys_file_exists")) {
228
228
return ufullname;
229
- } else if (Caml_missing_polyfill.not_implemented("caml_sys_file_exists not implemented by bucklescript yet\n ")) {
229
+ } else if (Caml_missing_polyfill.not_implemented("caml_sys_file_exists")) {
230
230
return fullname;
231
231
} else {
232
232
_param = param[1];
@@ -240,7 +240,7 @@ function find_in_path_uncap(path, name) {
240
240
241
241
function remove_file() {
242
242
try {
243
- return Caml_missing_polyfill.not_implemented("caml_sys_remove not implemented by bucklescript yet\n ");
243
+ return Caml_missing_polyfill.not_implemented("caml_sys_remove");
244
244
}
245
245
catch (raw_exn){
246
246
var exn = Js_exn.internalToOCamlException(raw_exn);
@@ -1460,7 +1460,7 @@ function highlight_terminfo(ppf, num_lines, lb, locs) {
1460
1460
throw Pervasives.Exit;
1461
1461
}
1462
1462
Caml_io.caml_ml_flush(Pervasives.stdout);
1463
- Caml_missing_polyfill.not_implemented("caml_terminfo_backup not implemented by bucklescript yet\n ");
1463
+ Caml_missing_polyfill.not_implemented("caml_terminfo_backup");
1464
1464
var bol = false;
1465
1465
Pervasives.print_string("# ");
1466
1466
for(var pos = 0 ,pos_finish = (lb[/* lex_buffer_len */2] - pos0 | 0) - 1 | 0; pos <= pos_finish; ++pos){
@@ -1473,21 +1473,21 @@ function highlight_terminfo(ppf, num_lines, lb, locs) {
1473
1473
return pos === loc[/* loc_start */0][/* pos_cnum */3];
1474
1474
}
1475
1475
}(pos)), locs)) {
1476
- Caml_missing_polyfill.not_implemented("caml_terminfo_standout not implemented by bucklescript yet\n ");
1476
+ Caml_missing_polyfill.not_implemented("caml_terminfo_standout");
1477
1477
}
1478
1478
if (List.exists((function(pos){
1479
1479
return function (loc) {
1480
1480
return pos === loc[/* loc_end */1][/* pos_cnum */3];
1481
1481
}
1482
1482
}(pos)), locs)) {
1483
- Caml_missing_polyfill.not_implemented("caml_terminfo_standout not implemented by bucklescript yet\n ");
1483
+ Caml_missing_polyfill.not_implemented("caml_terminfo_standout");
1484
1484
}
1485
1485
var c = Caml_bytes.get(lb[/* lex_buffer */1], pos + pos0 | 0);
1486
1486
Pervasives.print_char(c);
1487
1487
bol = c === /* "\n" */10;
1488
1488
}
1489
- Caml_missing_polyfill.not_implemented("caml_terminfo_standout not implemented by bucklescript yet\n ");
1490
- Caml_missing_polyfill.not_implemented("caml_terminfo_resume not implemented by bucklescript yet\n ");
1489
+ Caml_missing_polyfill.not_implemented("caml_terminfo_standout");
1490
+ Caml_missing_polyfill.not_implemented("caml_terminfo_resume");
1491
1491
return Caml_io.caml_ml_flush(Pervasives.stdout);
1492
1492
}
1493
1493
@@ -1641,7 +1641,7 @@ function highlight_locations(ppf, locs) {
1641
1641
return false;
1642
1642
}
1643
1643
} else {
1644
- status[0] = Caml_missing_polyfill.not_implemented("caml_terminfo_setup not implemented by bucklescript yet\n ");
1644
+ status[0] = Caml_missing_polyfill.not_implemented("caml_terminfo_setup");
1645
1645
continue ;
1646
1646
}
1647
1647
} else {
@@ -5343,9 +5343,9 @@ function backtrack(param) {
5343
5343
var $$Error$1 = Caml_exceptions.create("Ocaml_typedtree_test.Cmi_format.Error");
5344
5344
5345
5345
function input_cmi() {
5346
- var match = Caml_missing_polyfill.not_implemented("caml_input_value not implemented by bucklescript yet\n ");
5347
- var crcs = Caml_missing_polyfill.not_implemented("caml_input_value not implemented by bucklescript yet\n ");
5348
- var flags = Caml_missing_polyfill.not_implemented("caml_input_value not implemented by bucklescript yet\n ");
5346
+ var match = Caml_missing_polyfill.not_implemented("caml_input_value");
5347
+ var crcs = Caml_missing_polyfill.not_implemented("caml_input_value");
5348
+ var flags = Caml_missing_polyfill.not_implemented("caml_input_value");
5349
5349
return /* record */[
5350
5350
/* cmi_name */match[0],
5351
5351
/* cmi_sign */match[1],
@@ -5359,7 +5359,7 @@ function read_cmi(filename) {
5359
5359
try {
5360
5360
var buffer = Pervasives.really_input_string(ic, cmi_magic_number.length);
5361
5361
if (buffer !== cmi_magic_number) {
5362
- Caml_missing_polyfill.not_implemented("caml_ml_close_channel not implemented by bucklescript yet\n ");
5362
+ Caml_missing_polyfill.not_implemented("caml_ml_close_channel");
5363
5363
var pre_len = cmi_magic_number.length - 3 | 0;
5364
5364
if ($$String.sub(buffer, 0, pre_len) === $$String.sub(cmi_magic_number, 0, pre_len)) {
5365
5365
var msg = buffer < cmi_magic_number ? "an older" : "a newer";
@@ -5378,25 +5378,25 @@ function read_cmi(filename) {
5378
5378
}
5379
5379
}
5380
5380
var cmi = input_cmi(ic);
5381
- Caml_missing_polyfill.not_implemented("caml_ml_close_channel not implemented by bucklescript yet\n ");
5381
+ Caml_missing_polyfill.not_implemented("caml_ml_close_channel");
5382
5382
return cmi;
5383
5383
}
5384
5384
catch (raw_exn){
5385
5385
var exn = Js_exn.internalToOCamlException(raw_exn);
5386
5386
if (exn === Caml_builtin_exceptions.end_of_file) {
5387
- Caml_missing_polyfill.not_implemented("caml_ml_close_channel not implemented by bucklescript yet\n ");
5387
+ Caml_missing_polyfill.not_implemented("caml_ml_close_channel");
5388
5388
throw [
5389
5389
$$Error$1,
5390
5390
/* Corrupted_interface */Block.__(2, [filename])
5391
5391
];
5392
5392
} else if (exn[0] === Caml_builtin_exceptions.failure) {
5393
- Caml_missing_polyfill.not_implemented("caml_ml_close_channel not implemented by bucklescript yet\n ");
5393
+ Caml_missing_polyfill.not_implemented("caml_ml_close_channel");
5394
5394
throw [
5395
5395
$$Error$1,
5396
5396
/* Corrupted_interface */Block.__(2, [filename])
5397
5397
];
5398
5398
} else if (exn[0] === $$Error$1) {
5399
- Caml_missing_polyfill.not_implemented("caml_ml_close_channel not implemented by bucklescript yet\n ");
5399
+ Caml_missing_polyfill.not_implemented("caml_ml_close_channel");
5400
5400
throw [
5401
5401
$$Error$1,
5402
5402
exn[1]
@@ -5409,11 +5409,11 @@ function read_cmi(filename) {
5409
5409
5410
5410
function output_cmi(filename, oc, _) {
5411
5411
Pervasives.output_string(oc, cmi_magic_number);
5412
- Caml_missing_polyfill.not_implemented("caml_output_value not implemented by bucklescript yet\n ");
5412
+ Caml_missing_polyfill.not_implemented("caml_output_value");
5413
5413
Caml_io.caml_ml_flush(oc);
5414
5414
var crc = Digest.file(filename);
5415
- Caml_missing_polyfill.not_implemented("caml_output_value not implemented by bucklescript yet\n ");
5416
- Caml_missing_polyfill.not_implemented("caml_output_value not implemented by bucklescript yet\n ");
5415
+ Caml_missing_polyfill.not_implemented("caml_output_value");
5416
+ Caml_missing_polyfill.not_implemented("caml_output_value");
5417
5417
return crc;
5418
5418
}
5419
5419
@@ -12446,7 +12446,7 @@ function save_signature(sg, modname, filename) {
12446
12446
];
12447
12447
var crc = output_cmi(filename$1, oc, cmi);
12448
12448
Caml_io.caml_ml_flush(oc);
12449
- Caml_missing_polyfill.not_implemented("caml_ml_close_channel not implemented by bucklescript yet\n ");
12449
+ Caml_missing_polyfill.not_implemented("caml_ml_close_channel");
12450
12450
var comps = components_of_module(empty, identity, /* Pident */Block.__(0, [/* record */[
12451
12451
/* stamp */0,
12452
12452
/* name */modname$1,
@@ -12472,7 +12472,7 @@ function save_signature(sg, modname, filename) {
12472
12472
}
12473
12473
catch (exn){
12474
12474
Caml_io.caml_ml_flush(oc);
12475
- Caml_missing_polyfill.not_implemented("caml_ml_close_channel not implemented by bucklescript yet\n ");
12475
+ Caml_missing_polyfill.not_implemented("caml_ml_close_channel");
12476
12476
remove_file(filename$1);
12477
12477
throw exn;
12478
12478
}
@@ -23564,7 +23564,7 @@ function clear_env(binary_annots) {
23564
23564
23565
23565
function output_cmt(oc, _) {
23566
23566
Pervasives.output_string(oc, "Caml2012T004");
23567
- return Caml_missing_polyfill.not_implemented("caml_output_value not implemented by bucklescript yet\n ");
23567
+ return Caml_missing_polyfill.not_implemented("caml_output_value");
23568
23568
}
23569
23569
23570
23570
var saved_types = [/* [] */0];
@@ -23646,7 +23646,7 @@ function save_cmt(filename, modname, binary_annots, sourcefile, initial_env, sg)
23646
23646
];
23647
23647
output_cmt(oc, cmt);
23648
23648
Caml_io.caml_ml_flush(oc);
23649
- Caml_missing_polyfill.not_implemented("caml_ml_close_channel not implemented by bucklescript yet\n ");
23649
+ Caml_missing_polyfill.not_implemented("caml_ml_close_channel");
23650
23650
}
23651
23651
return clear(/* () */0);
23652
23652
}
@@ -75808,7 +75808,7 @@ function type_implementation_more(sourcefile, outputprefix, modulename, initial_
75808
75808
} else {
75809
75809
var sourceintf = chop_extension_if_any(sourcefile) + interface_suffix[0];
75810
75810
var mli_status = assume_no_mli[0];
75811
- if (mli_status === /* Mli_na */0 && Caml_missing_polyfill.not_implemented("caml_sys_file_exists not implemented by bucklescript yet\n ") || mli_status === /* Mli_exists */1) {
75811
+ if (mli_status === /* Mli_na */0 && Caml_missing_polyfill.not_implemented("caml_sys_file_exists") || mli_status === /* Mli_exists */1) {
75812
75812
var intf_file;
75813
75813
try {
75814
75814
intf_file = find_in_path_uncap(load_path[0], modulename + ".cmi");
0 commit comments