Skip to content

Commit 4074f11

Browse files
committed
Also pass -bs-version
1 parent 9b2fd8f commit 4074f11

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

jscomp/core/js_implementation.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ let process_with_gentype filename =
3232
| None -> ()
3333
| Some cmd ->
3434
let comm = (cmd ^
35+
" -bs-version " ^ Bs_version.version ^
3536
" -cmt-add " ^
3637
filename ^
3738
( ":" ^ !Location.input_name)) in

lib/4.02.3/whole_compiler.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123405,6 +123405,7 @@ let process_with_gentype filename =
123405123405
| None -> ()
123406123406
| Some cmd ->
123407123407
let comm = (cmd ^
123408+
" -bs-version " ^ Bs_version.version ^
123408123409
" -cmt-add " ^
123409123410
filename ^
123410123411
( ":" ^ !Location.input_name)) in

0 commit comments

Comments
 (0)