Skip to content

Commit 5a0a21d

Browse files
Merge pull request #6678 from fhammerschmidt/update-warning-numbers-info
Update warning numbers info in build schema
2 parents ebfde30 + 6941225 commit 5a0a21d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/docson/build-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@
439439
"properties": {
440440
"number": {
441441
"type": "string",
442-
"description": "Default: -40+6+7+27+32..39+44+45 [Here](https://caml.inria.fr/pub/docs/manual-ocaml/comp.html#sec270) for the meanings of the warning flags"
442+
"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"
443443
},
444444
"error": {
445445
"oneOf": [

jscomp/ext/bsc_warnings.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
7070
- 102 Bs_polymorphic_comparison
7171
*)
72+
(* If you change this, don't forget to adapt docs/docson/build-schema.json as well. *)
7273
let defaults_w = "+a-4-9-20-40-41-42-50-61-102"
7374

7475
let defaults_warn_error = "-a+5+6+101+109"

0 commit comments

Comments
 (0)