blob: d65aaa6ca48ed8ad575404f1422742854cf9faa9 [file] [log] [blame]
// "Surround with null check" "false"
// ACTION: Add non-null asserted (!!) call
// ACTION: Replace with safe (?.) call
// ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
fun foo(s: String?) {
val x = s<caret>.hashCode()
}