@@ -8,7 +8,6 @@ let numeric = [
8
8
),
9
9
(5 , "Partially applied function: expression whose result has function type and is ignored." ),
10
10
(6 , "Label omitted in function application." ),
11
- (7 , "Method overridden." ),
12
11
(8 , "Partial match: missing cases in pattern-matching." ),
13
12
(9 , "Missing fields in a record pattern." ),
14
13
(
@@ -17,19 +16,12 @@ let numeric = [
17
16
),
18
17
(11 , "Redundant case in a pattern matching (unused match case)." ),
19
18
(12 , "Redundant sub-pattern in a pattern-matching." ),
20
- (13 , "Instance variable overridden." ),
21
19
(14 , "Illegal backslash escape in a string constant." ),
22
- (15 , "Private method made public implicitly." ),
23
20
(16 , "Unerasable optional argument." ),
24
- (17 , "Undeclared virtual method." ),
25
- (18 , "Non-principal type." ),
26
- (19 , "Type without principality." ),
27
21
(20 , "Unused function argument." ),
28
22
(21 , "Non-returning statement." ),
29
- (22 , "Preprocessor warning." ),
30
23
(23 , "Useless record \" with\" clause." ),
31
- (24 , "Bad module name: the source file name is not a valid OCaml module name." ),
32
- (25 , "Deprecated: now part of warning 8." ),
24
+ (24 , "Bad module name: the source file name is not a valid ReScript module name." ),
33
25
(
34
26
26 ,
35
27
"Suspicious unused variable: unused variable that is bound with \" let\" or \" as\" , and doesn't start with an underscore (\" _\" ) character." ,
@@ -41,7 +33,6 @@ let numeric = [
41
33
(28 , "Wildcard pattern given as argument to a constant constructor." ),
42
34
(29 , "Unescaped end-of-line in a string constant (non-portable code)." ),
43
35
(30 , "Two labels or constructors of the same name are defined in two mutually recursive types." ),
44
- (31 , "A module is linked twice in the same executable." ),
45
36
(32 , "Unused value declaration." ),
46
37
(33 , "Unused open statement." ),
47
38
(34 , "Unused type declaration." ),
@@ -50,9 +41,6 @@ let numeric = [
50
41
(37 , "Unused constructor." ),
51
42
(38 , "Unused extension constructor." ),
52
43
(39 , "Unused rec flag." ),
53
- (40 , "Constructor or label name used out of scope." ),
54
- (41 , "Ambiguous constructor or label name." ),
55
- (42 , "Disambiguated constructor or label name (compatibility warning)." ),
56
44
(43 , "Nonoptional label applied as optional." ),
57
45
(44 , "Open statement shadows an already defined identifier." ),
58
46
(45 , "Open statement shadows an already defined label or constructor." ),
@@ -61,14 +49,11 @@ let numeric = [
61
49
(48 , "Implicit elimination of optional arguments." ),
62
50
(49 , "Absent cmi file when looking up module alias." ),
63
51
(50 , "Unexpected documentation comment." ),
64
- (51 , "Warning on non-tail calls if @tailcall present." ),
65
52
(52 , "Fragile constant pattern." ),
66
53
(53 , "Attribute cannot appear in this context" ),
67
54
(54 , "Attribute used more than once on an expression" ),
68
- (55 , "Inlining impossible" ),
69
55
(56 , "Unreachable case in a pattern-matching (based on type information)." ),
70
56
(57 , "Ambiguous or-pattern variables under guard" ),
71
- (58 , "Missing cmx file" ),
72
57
(59 , "Assignment to non-mutable value" ),
73
58
(60 , "Unused module declaration" ),
74
59
(61 , "Unboxable type in primitive declaration" ),
0 commit comments