mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 08:31:31 +00:00
8 lines
338 B
Kotlin
Vendored
8 lines
338 B
Kotlin
Vendored
// "Surround with null check" "false"
|
|
// ACTION: Add non-null asserted (!!) call
|
|
// ACTION: Convert to block body
|
|
// 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?
|
|
|
|
fun foo(arg: Int?) = arg<caret>.hashCode() |