mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
11 lines
358 B
Kotlin
11 lines
358 B
Kotlin
// "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(notNull(<caret>s))
|
|
}
|
|
|
|
fun notNull(name: String): String = name
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.WrapWithSafeLetCallFix |