diff options
author | muskangarg21 <muskan@iitk.ac.in> | 2020-03-29 01:11:02 +0530 |
---|---|---|
committer | muskangarg21 <muskan@iitk.ac.in> | 2020-03-30 21:48:02 +0530 |
commit | 50866e4cbf4bcf642a70b4e30beee2971caa55c6 (patch) | |
tree | 9a5c19358b7278d2ff47e3e8bffef862710c72e3 | |
parent | 49d058009346b4c9b87ea9b505e9bd4105bc5223 (diff) | |
download | ocaml-50866e4cbf4bcf642a70b4e30beee2971caa55c6.tar.gz |
[nitpick]: Added "." at the end of warning descriptions in utils/warnings.ml
-rw-r--r-- | man/ocamlc.m | 10 | ||||
-rw-r--r-- | utils/warnings.ml | 28 |
2 files changed, 19 insertions, 19 deletions
diff --git a/man/ocamlc.m b/man/ocamlc.m index 456c0f6604..2ac74ab6bf 100644 --- a/man/ocamlc.m +++ b/man/ocamlc.m @@ -790,7 +790,7 @@ function type and is ignored. \ \ \ Label omitted in function application. 7 -\ \ \ Method overridden without using the "method!" keyword +\ \ \ Method overridden without using the "method!" keyword. 8 \ \ \ Partial match: missing cases in pattern-matching. @@ -943,16 +943,16 @@ mutually recursive types. \ \ Unannotated unboxable type in primitive declaration. 62 -\ \ Type constraint on GADT type declaration +\ \ Type constraint on GADT type declaration. 63 -\ \ Erroneous printed signature +\ \ Erroneous printed signature. 64 -\ \ -unsafe used with a preprocessor returning a syntax tree +\ \ -unsafe used with a preprocessor returning a syntax tree. 65 -\ \ Type declaration defining a new '()' constructor +\ \ Type declaration defining a new '()' constructor. 66 \ \ Unused open! statement. diff --git a/utils/warnings.ml b/utils/warnings.ml index 9c83485453..e421add6b3 100644 --- a/utils/warnings.ml +++ b/utils/warnings.ml @@ -700,7 +700,7 @@ let descriptions = [ 1, "Suspicious-looking start-of-comment mark."; 2, "Suspicious-looking end-of-comment mark."; - 3, "Deprecated synonym for the 'deprecated' alert"; + 3, "Deprecated synonym for the 'deprecated' alert."; 4, "Fragile pattern matching: matching that will remain complete even\n\ \ if additional constructors are added to one of the variant types\n\ \ matched."; @@ -761,20 +761,20 @@ let descriptions = 50, "Unexpected documentation comment."; 51, "Warning on non-tail calls if @tailcall present."; 52, "Fragile constant pattern."; - 53, "Attribute cannot appear in this context"; - 54, "Attribute used more than once on an expression"; - 55, "Inlining impossible"; + 53, "Attribute cannot appear in this context."; + 54, "Attribute used more than once on an expression."; + 55, "Inlining impossible."; 56, "Unreachable case in a pattern-matching (based on type information)."; - 57, "Ambiguous or-pattern variables under guard"; - 58, "Missing cmx file"; - 59, "Assignment to non-mutable value"; - 60, "Unused module declaration"; - 61, "Unboxable type in primitive declaration"; - 62, "Type constraint on GADT type declaration"; - 63, "Erroneous printed signature"; - 64, "-unsafe used with a preprocessor returning a syntax tree"; - 65, "Type declaration defining a new '()' constructor"; - 66, "Unused open! statement"; + 57, "Ambiguous or-pattern variables under guard."; + 58, "Missing cmx file."; + 59, "Assignment to non-mutable value."; + 60, "Unused module declaration."; + 61, "Unboxable type in primitive declaration."; + 62, "Type constraint on GADT type declaration."; + 63, "Erroneous printed signature."; + 64, "-unsafe used with a preprocessor returning a syntax tree."; + 65, "Type declaration defining a new '()' constructor."; + 66, "Unused open! statement."; ] ;; |