mirror of
https://github.com/dart-lang/sdk
synced 2024-07-05 09:20:04 +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
|
### 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.
|
* Allow `=` as well as `:` as separator for named parameter default values.
|
||||||
|
|
||||||
### Core library changes
|
### Core library changes
|
||||||
|
|
Loading…
Reference in New Issue
Block a user