mirror of
https://github.com/dart-lang/sdk
synced 2024-10-03 00:45:16 +00:00
Add changes to switch cases warnings to CHANGELOG.md.
R=floitsch@google.com Review URL: https://codereview.chromium.org/2447173005 .
This commit is contained in:
parent
b08fb1373f
commit
be4b4c6338
|
@ -2,6 +2,10 @@
|
|||
|
||||
### Language
|
||||
|
||||
* Don't warn about switch case fallthrough if the case ends in a `rethrow`
|
||||
statement.
|
||||
* Also don't warn if the entire switch case is wrapped in braces - as long as
|
||||
the block ends with a `break`, `continue`, `rethrow`, `return` or `throw`.
|
||||
* Allow `=` as well as `:` as separator for named parameter default values.
|
||||
|
||||
### Core library changes
|
||||
|
|
Loading…
Reference in a new issue