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

Unified Diff: docs/language/informal/generalized-void.md

Issue 3001063002: Removed permission to do `voidExpression is T` and `.. is! T`. (Closed)
Patch Set: Created 3 years, 4 months 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: docs/language/informal/generalized-void.md
diff --git a/docs/language/informal/generalized-void.md b/docs/language/informal/generalized-void.md
index ddbc526c0f321ae5c503d61ac0d80c44edfe9339..e18caa5b2494adcf347893b4f46cbcaaca66ab5c 100644
--- a/docs/language/informal/generalized-void.md
+++ b/docs/language/informal/generalized-void.md
@@ -270,7 +270,6 @@ following situations:
* In the initialization and increment expressions of a for-loop,
`for (e1; e2; e3) {..}`, `e1` and `e3` may have type void.
* In a typeCast `e as T`, `e` may have type void.
-* In a typeTest `e is T` or `e is! T`, `e` may have type void.
* In a parenthesized expression `(e)`, `e` may have type void.
* In a return statement `return e;`, when the return type of the innermost
enclosing function is the type void, `e` may have type void.
@@ -312,6 +311,8 @@ bound as `Object`.
## Updates
+* August 16h 2017: Removed exceptions allowing `e is T` and `e is! T`.
+
* August 9th 2017: Transferred to SDK repo, docs/language/informal.
* July 16th 2017: Reformatted as a gist.
« 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