Skip to content

Commit 762a83f

Browse files
committed
order warnings
1 parent 46d264a commit 762a83f

File tree

1 file changed

+25
-26
lines changed

1 file changed

+25
-26
lines changed

Diff for: content/reference/compiler-options.adoc

+25-26
Original file line numberDiff line numberDiff line change
@@ -1067,44 +1067,43 @@ with associated booleans. Defaults to true.
10671067

10681068
The following warnings are supported:
10691069

1070-
* `:preamble-missing`, missing preamble
1071-
* `:unprovided`, required namespace not provided
1072-
* `:undeclared-var`, undeclared var
1073-
* `:private-var-access`, private var access from another namespace
1074-
* `:undeclared-ns`, var references non-existent namespace
1075-
* `:undeclared-ns-form`, namespace reference in ns form that does not
1076-
exist
1077-
* `:redef`, var redefinition
1070+
* `:declared-arglists-mismatch`, declared `:arglists` mismatch defined
10781071
* `:dynamic`, dynamic binding of non-dynamic var
1079-
* `:fn-var`, var previously bound to fn changed to different type
1072+
* `:extend-type-invalid-method-shape`, method arities must be grouped together
1073+
* `:extending-base-js-type`, JavaScript base type extension
10801074
* `:fn-arity`, invalid invoke arity
10811075
* `:fn-deprecated`, deprecated function usage
1082-
* `:declared-arglists-mismatch`, declared `:arglists` mismatch defined
1083-
* `:protocol-deprecated`, deprecated protocol usage
1084-
* `:undeclared-protocol-symbol`, undeclared protocol referred
1076+
* `:fn-var`, var previously bound to fn changed to different type
1077+
* `:infer-warning`, warnings related to externs inference
1078+
* `:invalid-arithmetic`, invalid arithmetic
1079+
* `:invalid-array-access`, invalid use of `aget` or `aset`
10851080
* `:invalid-protocol-symbol`, invalid protocol symbol
1081+
* `:invoke-ctor`, type constructor invoked as function
1082+
* `:js-shadowed-by-local`, name shadowed by a local
10861083
* `:multiple-variadic-overloads`, multiple variadic arities
1087-
* `:variadic-max-arity`, arity greater than variadic arity
1084+
* `:munged-namespace`, namespace name contains a reserved JavaScript keyword
1085+
* `:ns-var-clash`, namespace clashes with var
10881086
* `:overload-arity`, duplicate arities
1089-
* `:extending-base-js-type`, JavaScript base type extension
1090-
* `:invoke-ctor`, type constructor invoked as function
1091-
* `:invalid-arithmetic`, invalid arithmetic
1092-
* `:invalid-array-access`, invalid use of `aget` or `aset`
1093-
* `:protocol-invalid-method`, protocol method does not match declaration
1087+
* `:preamble-missing`, missing preamble
1088+
* `:private-var-access`, private var access from another namespace
1089+
* `:protocol-deprecated`, deprecated protocol usage
10941090
* `:protocol-duped-method`, duplicate protocol method implementation
1091+
* `:protocol-impl-recur-with-target`, target passed in recur to protocol method head
1092+
* `:protocol-impl-with-variadic-method`, protocol impl employs variadic signature
1093+
* `:protocol-invalid-method`, protocol method does not match declaration
10951094
* `:protocol-multiple-impls`, protocol implemented multiple times
1096-
* `:protocol-with-variadic-method`, protocol declares variadic signature
10971095
* `:protocol-with-overwriting-method`, protocol method overwrites other protocol method
1098-
* `:protocol-impl-with-variadic-method`, protocol impl employs variadic signature
1099-
* `:protocol-impl-recur-with-target`, target passed in recur to protocol method head
1096+
* `:protocol-with-variadic-method`, protocol declares variadic signature
1097+
* `:redef`, var redefinition
11001098
* `:single-segment-namespace`, single segment namespace
1101-
* `:munged-namespace`, namespace name contains a reserved JavaScript keyword
1102-
* `:ns-var-clash`, namespace clashes with var
1103-
* `:extend-type-invalid-method-shape`, method arities must be grouped together
1099+
* `:variadic-max-arity`, arity greater than variadic arity
1100+
* `:undeclared-ns`, var references non-existent namespace
1101+
* `:undeclared-ns-form`, namespace reference in ns form that does not exist
1102+
* `:undeclared-protocol-symbol`, undeclared protocol referred
1103+
* `:undeclared-var`, undeclared var
1104+
* `:unprovided`, required namespace not provided
11041105
* `:unsupported-js-module-type`, unsupported JavaScript module type
11051106
* `:unsupported-preprocess-value`, unsupported foreign lib preprocess value
1106-
* `:js-shadowed-by-local`, name shadowed by a local
1107-
* `:infer-warning`, warnings related to externs inference
11081107

11091108
[[watch-fn]]
11101109
=== :watch-fn

0 commit comments

Comments
 (0)