Add toString() to Any, fix all tests
#KT-4517 Fixed
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class A(private var v1: String) {
|
||||
private var v2 = v1
|
||||
fun toString(): String { return "A[v1=$v1,v2=$v2]" }
|
||||
override fun toString(): String { return "A[v1=$v1,v2=$v2]" }
|
||||
}
|
||||
Reference in New Issue
Block a user