Skip to content

Commit 12036b3

Browse files
committed
1 parent 3d995c8 commit 12036b3

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

Diff for: jscomp/runtime/.depend

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ caml_hash.cmi : bs_stdlib_mini.cmi ../../lib/bsc.exe caml_obj_extern.cmj
1010
caml_hash_primitive.cmi : bs_stdlib_mini.cmi ../../lib/bsc.exe
1111
caml_int32.cmi : bs_stdlib_mini.cmi ../../lib/bsc.exe
1212
caml_int64.cmi : bs_stdlib_mini.cmi ../../lib/bsc.exe js.cmj
13-
caml_io.cmi : bs_stdlib_mini.cmi ../../lib/bsc.exe
13+
caml_io.cmi : bs_stdlib_mini.cmi ../../lib/bsc.exe caml_undefined_extern.cmj
1414
caml_lexer.cmi : bs_stdlib_mini.cmi ../../lib/bsc.exe
1515
caml_md5.cmi : bs_stdlib_mini.cmi ../../lib/bsc.exe
1616
caml_missing_polyfill.cmi : bs_stdlib_mini.cmi ../../lib/bsc.exe

Diff for: jscomp/runtime/caml_io.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626

2727

28-
28+
let stdin = Caml_undefined_extern.empty
2929
let stderr = Caml_undefined_extern.empty
3030

3131
type out_channel = {

Diff for: jscomp/runtime/caml_io.mli

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11

22

3+
(* not complaining for JS tools *)
4+
val stdin : 'a Caml_undefined_extern.t
35
type out_channel
46

57
val stdout : out_channel

Diff for: lib/js/caml_io.js

+3
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ function caml_ml_out_channels_list(param) {
7474
];
7575
}
7676

77+
var stdin = undefined;
78+
79+
exports.stdin = stdin;
7780
exports.stdout = stdout;
7881
exports.stderr = stderr;
7982
exports.caml_ml_flush = caml_ml_flush;

0 commit comments

Comments
 (0)