"Wrap with let": fix for nullable extension function call #KT-6364 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
093842932f
commit
b6564ed19a
@@ -0,0 +1,10 @@
|
||||
// "Wrap with '?.let { ... }' call" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun f(s: String, action: (String.() -> Unit)?) {
|
||||
s.foo().bar().action<caret>()
|
||||
}
|
||||
|
||||
fun String.foo() = ""
|
||||
|
||||
fun String.bar() = ""
|
||||
Reference in New Issue
Block a user