diff --git a/CHANGELOG.md b/CHANGELOG.md index f5409a914f..1d98bed0ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ #### :boom: Breaking Change -- `-bs-super-errors` flag has been removed along with Super_errors. https://github.com/rescript-lang/rescript-compiler/pull/6199 +- `-bs-super-errors` flag has been deprecated along with Super_errors. https://github.com/rescript-lang/rescript-compiler/pull/6243 #### :bug: Bug Fix diff --git a/jscomp/bsc/rescript_compiler_main.ml b/jscomp/bsc/rescript_compiler_main.ml index d4513248e5..6a4d63173c 100644 --- a/jscomp/bsc/rescript_compiler_main.ml +++ b/jscomp/bsc/rescript_compiler_main.ml @@ -292,6 +292,9 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array = (******************************************************************************) + "-bs-super-errors", unit_call (fun _ -> ()), + "*deprecated* Better error message combined with other tools "; + "-unboxed-types", set Clflags.unboxed_types, "*internal* Unannotated unboxable types will be unboxed";