Skip to content

Commit 697c850

Browse files
authored
Update spec to say that reporting warnings is not mandatory. (#3570)
1 parent e433c0c commit 697c850

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

specification/dartLangSpec.tex

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,8 +1267,10 @@ \section{Errors and Warnings}
12671267
are situations that do not preclude execution,
12681268
but which are unlikely to be intended,
12691269
and likely to cause bugs or inconveniences.
1270-
A static warning must be reported by a Dart compiler
1271-
before the associated code is executed.
1270+
A Dart compiler is free to report some, all,
1271+
or none of the specified static warnings before executing the associated code.
1272+
A Dart compiler may also report additional warnings
1273+
not defined by this specification.
12721274

12731275
\LMHash{}%
12741276
When this specification says that a \Index{dynamic error} occurs,

0 commit comments

Comments
 (0)