Allow dynamic types only in some contexts
This commit is contained in:
@@ -73,4 +73,8 @@ foo(listOf()) // can't determine T for listOf<T>()
|
||||
|
||||
Discussion:
|
||||
- we could tweak inference so that it takes `dynamic` as a bound for all type variables whose containing type has a dynamic bound,
|
||||
but it's hard to be sure it's worth the while
|
||||
but it's hard to be sure it's worth the while
|
||||
|
||||
## Notes
|
||||
|
||||
- dynamic types are not supported on the JVM back-end
|
||||
|
||||
Reference in New Issue
Block a user