File tree 6 files changed +2
-238
lines changed
6 files changed +2
-238
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -61,9 +61,8 @@ let rec error_of_extension ext =
61
61
62
62
let cat s1 s2 =
63
63
if s2 = " " then s1 else
64
- if Clflags. bs_vscode then s1 ^ " " ^ s2
65
64
(* 2 spaces indentation for the next line *)
66
- else s1 ^ " \n " ^ s2
65
+ s1 ^ " \n " ^ s2
67
66
68
67
let rec deprecated_of_attrs = function
69
68
| [] -> None
Original file line number Diff line number Diff line change @@ -61,11 +61,6 @@ let unboxed_types = ref false
61
61
62
62
type mli_status = Mli_exists | Mli_non_exists
63
63
let assume_no_mli = ref Mli_non_exists
64
- let bs_vscode =
65
- try ignore @@ Sys. getenv " BS_VSCODE" ; true with _ -> false
66
- (* We get it from environment variable mostly due to
67
- we don't want to rebuild when flip on or off
68
- *)
69
64
let dont_record_crc_unit : string option ref = ref None
70
65
let bs_gentype = ref false
71
66
let no_assert_false = ref false
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ val reset_dump_state: unit -> unit
38
38
39
39
type mli_status = Mli_exists | Mli_non_exists
40
40
val assume_no_mli : mli_status ref
41
- val bs_vscode : bool
42
41
val dont_record_crc_unit : string option ref
43
42
val bs_gentype : bool ref
44
43
val no_assert_false : bool ref
Original file line number Diff line number Diff line change 1
1
(* the entry point. This is used by rescript_compiler_main.ml *)
2
2
let setup =
3
- lazy (match Sys. getenv_opt " BS_VSCODE" with
4
- | Some ("true" | "1" ) ->
5
- ()
6
- | Some _ | None ->
7
- Super_location. setup () ;
3
+ lazy (Super_location. setup () ;
8
4
Super_typetexp. setup () ;
9
5
Super_typemod. setup () ;
10
6
Super_typecore. setup () ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments