Unit.VALUE -> Unit in testData
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
data class A(val x: Unit)
|
||||
|
||||
fun box(): String {
|
||||
val a = A(Unit.VALUE)
|
||||
return if ("$a" == "A(x=Unit.VALUE)") "OK" else "$a"
|
||||
val a = A(Unit)
|
||||
return if ("$a" == "A(x=kotlin.Unit)") "OK" else "$a"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user