Files
Vladimir Dolzhenko 1697b4cdc6 [kotlin] Use IGNORE_K2 instead of IGNORE_FIR
GitOrigin-RevId: e380b6203a00315f718b7e08d1048ec284dce1a3
2023-08-30 11:02:38 +00:00

13 lines
432 B
Kotlin

// "Replace with dot call" "true"
// LANGUAGE_VERSION: 1.6
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
// Note: quick fix is available after the execution due to a separate warning (SAFE_CALL_WILL_CHANGE_NULLABILITY)
class Foo(val bar: Bar)
class Bar(val baz: Baz)
class Baz(val qux: Int)
fun test(foo: Foo) {
foo?.bar?<caret>.baz?.qux
}
/* IGNORE_K2 */
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ReplaceWithDotCallFix