mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
backends by removing IMPLICIT_NOTNULL casts from IrStringConcatenation
arguments.
Also fixed an issue where IrStringConcatenation can be lowered into
a null String instead of a literal "null" String if the lone argument
was a platform type String or String with enhanced nullability and the
value was null (e.g., "${FromJava.nullPlatformString()}").
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 |