{} replaced by () in data classes toString
This commit is contained in:
@@ -7,5 +7,5 @@ class B : A("Fail") {
|
||||
fun foo(a: A) = a
|
||||
|
||||
fun box(): String {
|
||||
return if ("${foo(B())}" == "A{x=OK}") "OK" else "fail"
|
||||
return if ("${foo(B())}" == "A(x=OK)") "OK" else "fail"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user