Add toString() to Any, fix all tests

#KT-4517 Fixed
This commit is contained in:
Alexander Udalov
2014-02-06 23:43:12 +04:00
parent 6127d53eac
commit 3dcd85bdb4
55 changed files with 110 additions and 72 deletions
@@ -1,6 +1,6 @@
class A(
val a: String = object {
fun toString(): String = "OK"
override fun toString(): String = "OK"
}.toString()
)