If then to elvis: now not applicable for calls with nullable result #KT-14542 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// IS_APPLICABLE: false
|
||||
|
||||
fun foo(p: String?): String? {
|
||||
return <caret>if (p != null) p.bar() else "a"
|
||||
}
|
||||
|
||||
fun String.bar(): String? = null
|
||||
Reference in New Issue
Block a user