Skip to content

Commit 4ddbd1f

Browse files
committed
mitigate generated interface file for bs externals
1 parent a7f0018 commit 4ddbd1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jscomp/outcome_printer/tweaked_reason_oprint.cppo.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ and print_out_sig_item ppf =
626626
finished its pre/post-processing work before we get to print anything. The original
627627
attribute is already gone, replaced by a "BS:asdfasdfasd" thing here.
628628
*)
629-
String.length item >= 3 && item.[0] = 'B' && item.[1] = 'S' && item.[2] = ':'
629+
String.length item >= 20 && item.[0] = '\132' && item.[1] = '\149' && item.[2] = '\166'
630630
) oval_prims in
631631
let print_right_hand_side ppf =
632632
function

lib/4.06.1/whole_compiler.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -418696,7 +418696,7 @@ and print_out_sig_item ppf =
418696418696
finished its pre/post-processing work before we get to print anything. The original
418697418697
attribute is already gone, replaced by a "BS:asdfasdfasd" thing here.
418698418698
*)
418699-
String.length item >= 3 && item.[0] = 'B' && item.[1] = 'S' && item.[2] = ':'
418699+
String.length item >= 20 && item.[0] = '\132' && item.[1] = '\149' && item.[2] = '\166'
418700418700
) oval_prims in
418701418701
let print_right_hand_side ppf =
418702418702
function

0 commit comments

Comments
 (0)