mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
#KTIJ-30588 Fixed GitOrigin-RevId: f30dfd5da1172748b1bbd8136a0a8657676ec446
14 lines
408 B
Kotlin
14 lines
408 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?
|
|
|
|
var x: Int? = null
|
|
|
|
fun foo() {
|
|
x<caret>.hashCode()
|
|
} |