Forbid dynamic on the RHS of is and as

This commit is contained in:
Andrey Breslav
2014-11-13 04:21:27 +02:00
parent 645d931a9e
commit c8029307fa
8 changed files with 62 additions and 6 deletions
+1
View File
@@ -79,3 +79,4 @@ but it's hard to be sure it's worth the while
## Notes
- dynamic types are not supported on the JVM back-end
- dynamic types are forbidden on the right-hand side of `is`, `!is`, `as` and `as?` (but not as generic arguments, e.g. `x is List<dynamic>` is allowed)