KT-1141 No check that object in 'object expression' implements all abstract members of supertype

This commit is contained in:
svtk
2012-01-26 15:22:16 +04:00
parent 9b2e4c7d16
commit fc8bc52ea2
5 changed files with 39 additions and 2 deletions
@@ -8,6 +8,8 @@ fun box() : String {
val l2 = o2?.length ?: 0
return l1 - l2
}
override fun equals(obj: Any?): Boolean = obj === this
}
w.compare("aaa", "bbb")