mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
* Report for unqualified call of setter with non-unit return type to support the "builder" use case with `apply` function * Don't report for common getter-like prefixes "getAnd" and "getIf" * Add a test with is-getter with nullable boolean return type ^KTIJ-23652 ^KTIJ-17731 ^KTIJ-748 GitOrigin-RevId: 3eed485aca31a946eef8f874140491e0940cd6da
5 lines
86 B
Kotlin
5 lines
86 B
Kotlin
// IS_APPLICABLE: false
|
|
|
|
fun foo(foo: Foo) {
|
|
val foo2 = foo.getOrCreate()<caret>
|
|
} |