Skip to content

Commit

Permalink
Update spec to say that reporting warnings is not mandatory. (#3570)
Browse files Browse the repository at this point in the history
  • Loading branch information
munificent authored Jan 23, 2024
1 parent e433c0c commit 697c850
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions specification/dartLangSpec.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1267,8 +1267,10 @@ \section{Errors and Warnings}
are situations that do not preclude execution,
but which are unlikely to be intended,
and likely to cause bugs or inconveniences.
A static warning must be reported by a Dart compiler
before the associated code is executed.
A Dart compiler is free to report some, all,
or none of the specified static warnings before executing the associated code.
A Dart compiler may also report additional warnings
not defined by this specification.

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

0 comments on commit 697c850

Please sign in to comment.