Files
kotlin-fork/compiler/testData/diagnostics/tests/senselessComparison/complexExpression.kt
T
Kirill Rakhman 6318da0f02 [FIR] Remove or replace whole expressions in FIR diagnostic messages
FIR expressions rendered by FirRenderer don't look very nice in error
messages anyway, and additionally, they can become arbitrarily large,
so we shouldn't use them in messages.

#KT-59449 Fixed
2023-06-22 08:02:07 +00:00

7 lines
123 B
Kotlin
Vendored

// RENDER_DIAGNOSTICS_FULL_TEXT
fun String?.repro(): Boolean {
return this?.let {
return false
} == true
}