added a test case for KT-2507
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package foo
|
||||
|
||||
class Foo(val name: String) {
|
||||
|
||||
public override fun toString(): String {
|
||||
return "Foo($name)"
|
||||
}
|
||||
}
|
||||
|
||||
fun box() : String {
|
||||
val a = Foo("James")
|
||||
return a.toString()
|
||||
}
|
||||
Reference in New Issue
Block a user