mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
11 lines
363 B
Plaintext
11 lines
363 B
Plaintext
// "Wrap with '?.let { ... }' call" "true"
|
|
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
|
// ERROR: Type mismatch: inferred type is String? but String was expected
|
|
// WITH_STDLIB
|
|
|
|
fun test(s: String?) {
|
|
val s2 = notNull(s?.let { notNull(it) })
|
|
}
|
|
|
|
fun notNull(name: String): String = name
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix |