removing static type assertions work in progress
This commit is contained in:
+4
-1
@@ -8,4 +8,7 @@ class B : A<String> {
|
||||
|
||||
class C(a: A<String>) : A<String> by a
|
||||
|
||||
fun box() = (C(B()) : A<String>).foo()
|
||||
fun box(): String {
|
||||
val a: A<String> = C(B())
|
||||
return a.foo()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user