Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate -bs-super-errors flag for backward compat #6243

Merged
merged 2 commits into from
May 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions jscomp/bsc/rescript_compiler_main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down