diff --git a/CHANGELOG.md b/CHANGELOG.md index 4616b813c4..03dbda2c61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ - Remove handling of attributes with `bs.` prefix (`@bs.as` -> `@as` etc.). https://github.com/rescript-lang/rescript-compiler/pull/6643 - Remove obsolete `@bs.open` feature. https://github.com/rescript-lang/rescript-compiler/pull/6629 - Drop Node.js version <18 support, due to it reaching End-of-Life. https://github.com/rescript-lang/rescript-compiler/pull/6429 +- Remove deprecated -bs-super-errors option. https://github.com/rescript-lang/rescript-compiler/pull/6814 #### :bug: Bug Fix diff --git a/jscomp/bsc/rescript_compiler_main.ml b/jscomp/bsc/rescript_compiler_main.ml index 1642a74bb6..b41f1c7509 100644 --- a/jscomp/bsc/rescript_compiler_main.ml +++ b/jscomp/bsc/rescript_compiler_main.ml @@ -340,9 +340,6 @@ 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";