- Fix code generation for inlined String::plus
#KT-10131 Fixed. - Make extra factory methods in IntrinsicMethod protected. This ensures that any of them can be properly overridden.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
fun box(): String =
|
||||
listOf('O', 'K').fold("", String::plus)
|
||||
@@ -0,0 +1,2 @@
|
||||
fun box(): String =
|
||||
charArrayOf('O', 'K').fold("", String::plus)
|
||||
Reference in New Issue
Block a user