Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: CHANGELOG.md

Issue 2447173005: Add changes to switch cases warnings to CHANGELOG.md. (Closed)
Patch Set: Merge correctly. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: CHANGELOG.md
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 74825ecd87034c8b27f3ea76c0c94c7aaea8c1c5..a9e4b6f04a354fbc2adfa7f8fa731bf6e7ecba7f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698