removing static type assertions work in progress
This commit is contained in:
+2
-1
@@ -18,6 +18,7 @@ class B : A<Child> {
|
||||
fun box(): String {
|
||||
val b = B()
|
||||
b.foo(Child())
|
||||
(b : A<Child>).foo(Child())
|
||||
val a: A<Child> = b
|
||||
a.foo(Child())
|
||||
return if (result == "BB") "OK" else "Fail: $result"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user