Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
Remove warnings 40, 42 and 61 from the list of default warnings
  • Loading branch information
mediremi committed May 1, 2025
commit c60456bbb70a02cb69832a7b25a660632e16f2da
2 changes: 1 addition & 1 deletion compiler/ext/bsc_warnings.ml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
- 102 Bs_polymorphic_comparison
*)
(* If you change this, don't forget to adapt docs/docson/build-schema.json as well. *)
let defaults_w = "+a-4-9-20-40-41-42-50-61-102"
let defaults_w = "+a-4-9-20-41-50-102"

let defaults_warn_error = "-a+5+6+101+109"
(*TODO: add +10*)
2 changes: 1 addition & 1 deletion docs/docson/build-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@
"properties": {
"number": {
"type": "string",
"description": "Default: \"+a-4-9-20-40-41-42-50-61-102\". Go [here](https://rescript-lang.org/docs/manual/latest/warning-numbers) for the meanings of the warning flags"
"description": "Default: \"+a-4-9-20-41-50-102\". Go [here](https://rescript-lang.org/docs/manual/latest/warning-numbers) for the meanings of the warning flags"
},
"error": {
"oneOf": [
Expand Down