mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 19:02:13 +07:00
#KTIJ-30588 Fixed GitOrigin-RevId: f30dfd5da1172748b1bbd8136a0a8657676ec446
15 lines
415 B
Kotlin
15 lines
415 B
Kotlin
// "Surround with null check" "false"
|
|
// ACTION: Add non-null asserted (x!!) call
|
|
// ACTION: Convert to run
|
|
// ACTION: Convert to with
|
|
// ACTION: Introduce import alias
|
|
// ACTION: Introduce local variable
|
|
// ACTION: Replace with safe (?.) call
|
|
// ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Int?
|
|
|
|
val x: Int?
|
|
get() = 0
|
|
|
|
fun foo() {
|
|
x<caret>.hashCode()
|
|
} |