Skip to content

Commit 8bac19e

Browse files
authored
Deprecate -bs-super-errors flag for backward compat (#6243)
1 parent 77334f7 commit 8bac19e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#### :boom: Breaking Change
1616

17-
- `-bs-super-errors` flag has been removed along with Super_errors. https://github.com/rescript-lang/rescript-compiler/pull/6199
17+
- `-bs-super-errors` flag has been deprecated along with Super_errors. https://github.com/rescript-lang/rescript-compiler/pull/6243
1818

1919
#### :bug: Bug Fix
2020

jscomp/bsc/rescript_compiler_main.ml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,9 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
292292

293293
(******************************************************************************)
294294

295+
"-bs-super-errors", unit_call (fun _ -> ()),
296+
"*deprecated* Better error message combined with other tools ";
297+
295298
"-unboxed-types", set Clflags.unboxed_types,
296299
"*internal* Unannotated unboxable types will be unboxed";
297300

0 commit comments

Comments
 (0)