mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
KTIJ-28409 K2 IDE: port UsePropertyAccessSyntaxIntention Merge-request: IJ-MR-125578 Merged-by: Victoria Petrakovich <Victoria.Petrakovich@jetbrains.com> GitOrigin-RevId: bca92cabd37d3d9f926cef4afba58962f586a89e
11 lines
189 B
Kotlin
11 lines
189 B
Kotlin
// FIX: Use property access syntax
|
|
// HIGHLIGHT: GENERIC_ERROR_OR_WARNING
|
|
// WITH_STDLIB
|
|
|
|
import java.io.File
|
|
|
|
fun test(file: File) {
|
|
with(file) {
|
|
<caret>getParentFile()
|
|
}
|
|
} |