Remove Concat and StringPlus intrinsics in favor of IrStringConcatenation.
This commit is contained in:
committed by
max-kammerer
parent
26c9d69252
commit
f2392a6a28
@@ -0,0 +1,9 @@
|
||||
operator fun String?.plus(p: String): String {
|
||||
return "" + this
|
||||
}
|
||||
|
||||
fun test(a: String?, b: String): String {
|
||||
return a + b
|
||||
}
|
||||
|
||||
fun box() = test("OK", " Fail")
|
||||
Reference in New Issue
Block a user