removing static type assertions work in progress
This commit is contained in:
+2
-1
@@ -1,7 +1,8 @@
|
||||
fun box(): String {
|
||||
val sub = Sub()
|
||||
val sup: Super = sub
|
||||
|
||||
(sub : Super).foo{ }
|
||||
sup.foo{ }
|
||||
if (sub.lastCalled != "super") {
|
||||
return "FAIL: ${sub.lastCalled} instead of super"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user