1c71e64f58
Before this commit, questionable optimization existed which unwrapped string interpolating call with single argument to this argument. However, this led to source element loss and the necessity of sub-hacks. In this commit we dropped this optimization (anyway user can remove this single-expression string template in code if needed) to keep source elements intact.
6 lines
96 B
Kotlin
Vendored
6 lines
96 B
Kotlin
Vendored
fun f(s: String) = "$s"
|
|
|
|
fun g(s: String?) = "$s"
|
|
|
|
// 2 valueOf
|
|
// 0 NEW java/lang/StringBuilder |