3f82cc9b39
#KT-12260 Fixed
7 lines
315 B
Kotlin
Vendored
7 lines
315 B
Kotlin
Vendored
// "Replace with safe (?.) call" "true"
|
|
// ERROR: Infix call corresponds to a dot-qualified call 'value?.compareTo(1).compareTo(0)' which is not allowed on a nullable receiver 'value?.compareTo(1)'. Use '?.'-qualified call instead
|
|
var foo: Int? = null
|
|
set(value) {
|
|
if(value <caret>< 1) {
|
|
}
|
|
} |