Specificity supported for dynamic types

This commit is contained in:
Andrey Breslav
2014-11-09 14:05:58 +02:00
parent 20513abe04
commit 65794183e7
7 changed files with 75 additions and 4 deletions
+1
View File
@@ -32,6 +32,7 @@ fun jsFun(p: dynamic): dynamic
- ??? `glb(T, dynamic) = T`
- `dynamic` can't be substituted for reified parameters of function/constructor calls (this means that it's not possible to create an array of `dynamic`)
- `dynamic` can't be used as a supertype or upper bound for a tpe parameter
- `dynamic` is less specific than any other type
## Syntax