@@ -224,9 +224,9 @@ function find_in_path_uncap(path, name) {
224224 var dir = param[0];
225225 var fullname = Filename.concat(dir, name);
226226 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")) {
228228 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")) {
230230 return fullname;
231231 } else {
232232 _param = param[1];
@@ -240,7 +240,7 @@ function find_in_path_uncap(path, name) {
240240
241241function remove_file() {
242242 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");
244244 }
245245 catch (raw_exn){
246246 var exn = Js_exn.internalToOCamlException(raw_exn);
@@ -1460,7 +1460,7 @@ function highlight_terminfo(ppf, num_lines, lb, locs) {
14601460 throw Pervasives.Exit;
14611461 }
14621462 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");
14641464 var bol = false;
14651465 Pervasives.print_string("# ");
14661466 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) {
14731473 return pos === loc[/* loc_start */0][/* pos_cnum */3];
14741474 }
14751475 }(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");
14771477 }
14781478 if (List.exists((function(pos){
14791479 return function (loc) {
14801480 return pos === loc[/* loc_end */1][/* pos_cnum */3];
14811481 }
14821482 }(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");
14841484 }
14851485 var c = Caml_bytes.get(lb[/* lex_buffer */1], pos + pos0 | 0);
14861486 Pervasives.print_char(c);
14871487 bol = c === /* "\n" */10;
14881488 }
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");
14911491 return Caml_io.caml_ml_flush(Pervasives.stdout);
14921492}
14931493
@@ -1641,7 +1641,7 @@ function highlight_locations(ppf, locs) {
16411641 return false;
16421642 }
16431643 } 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");
16451645 continue ;
16461646 }
16471647 } else {
@@ -5343,9 +5343,9 @@ function backtrack(param) {
53435343var $$Error$1 = Caml_exceptions.create("Ocaml_typedtree_test.Cmi_format.Error");
53445344
53455345function 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");
53495349 return /* record */[
53505350 /* cmi_name */match[0],
53515351 /* cmi_sign */match[1],
@@ -5359,7 +5359,7 @@ function read_cmi(filename) {
53595359 try {
53605360 var buffer = Pervasives.really_input_string(ic, cmi_magic_number.length);
53615361 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");
53635363 var pre_len = cmi_magic_number.length - 3 | 0;
53645364 if ($$String.sub(buffer, 0, pre_len) === $$String.sub(cmi_magic_number, 0, pre_len)) {
53655365 var msg = buffer < cmi_magic_number ? "an older" : "a newer";
@@ -5378,25 +5378,25 @@ function read_cmi(filename) {
53785378 }
53795379 }
53805380 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");
53825382 return cmi;
53835383 }
53845384 catch (raw_exn){
53855385 var exn = Js_exn.internalToOCamlException(raw_exn);
53865386 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");
53885388 throw [
53895389 $$Error$1,
53905390 /* Corrupted_interface */Block.__(2, [filename])
53915391 ];
53925392 } 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");
53945394 throw [
53955395 $$Error$1,
53965396 /* Corrupted_interface */Block.__(2, [filename])
53975397 ];
53985398 } 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");
54005400 throw [
54015401 $$Error$1,
54025402 exn[1]
@@ -5409,11 +5409,11 @@ function read_cmi(filename) {
54095409
54105410function output_cmi(filename, oc, _) {
54115411 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");
54135413 Caml_io.caml_ml_flush(oc);
54145414 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");
54175417 return crc;
54185418}
54195419
@@ -12446,7 +12446,7 @@ function save_signature(sg, modname, filename) {
1244612446 ];
1244712447 var crc = output_cmi(filename$1, oc, cmi);
1244812448 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");
1245012450 var comps = components_of_module(empty, identity, /* Pident */Block.__(0, [/* record */[
1245112451 /* stamp */0,
1245212452 /* name */modname$1,
@@ -12472,7 +12472,7 @@ function save_signature(sg, modname, filename) {
1247212472 }
1247312473 catch (exn){
1247412474 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");
1247612476 remove_file(filename$1);
1247712477 throw exn;
1247812478 }
@@ -23564,7 +23564,7 @@ function clear_env(binary_annots) {
2356423564
2356523565function output_cmt(oc, _) {
2356623566 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");
2356823568}
2356923569
2357023570var saved_types = [/* [] */0];
@@ -23646,7 +23646,7 @@ function save_cmt(filename, modname, binary_annots, sourcefile, initial_env, sg)
2364623646 ];
2364723647 output_cmt(oc, cmt);
2364823648 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");
2365023650 }
2365123651 return clear(/* () */0);
2365223652}
@@ -75808,7 +75808,7 @@ function type_implementation_more(sourcefile, outputprefix, modulename, initial_
7580875808 } else {
7580975809 var sourceintf = chop_extension_if_any(sourcefile) + interface_suffix[0];
7581075810 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) {
7581275812 var intf_file;
7581375813 try {
7581475814 intf_file = find_in_path_uncap(load_path[0], modulename + ".cmi");
0 commit comments