Add toString() to Any, fix all tests
#KT-4517 Fixed
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class mInt(val i : Int) {
|
||||
fun toString() : String = "mint: $i"
|
||||
override fun toString() : String = "mint: $i"
|
||||
fun plus(i : Int) = mInt(this.i + i)
|
||||
fun inc() = mInt(i + 1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user