1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-03 00:08:46 +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:
Lasse R.H. Nielsen 2016-11-02 14:31:04 +01:00
parent b08fb1373f
commit be4b4c6338

View File

@ -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