mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
^KTIJ-29052 Fixed GitOrigin-RevId: 3c28a6169b8e49c7d29a949f6bc7ed185507168e
12 lines
428 B
Kotlin
12 lines
428 B
Kotlin
// "Surround with null check" "false"
|
|
// ACTION: Add non-null asserted (arg?.hashCode()!!) call
|
|
// ACTION: Convert to run
|
|
// ACTION: Convert to with
|
|
// ACTION: Introduce local variable
|
|
// ACTION: Put calls on separate lines
|
|
// ACTION: Replace with safe (?.) call
|
|
// ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Int?
|
|
|
|
fun foo(arg: Int?) {
|
|
arg?.hashCode()<caret>.toLong()
|
|
} |