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
9 lines
152 B
Kotlin
9 lines
152 B
Kotlin
// FIX: Use property access syntax
|
|
// WITH_STDLIB
|
|
import java.io.File
|
|
|
|
fun foo(o: Any) {
|
|
if (o is File) {
|
|
o.getAbsolutePath<caret>()
|
|
}
|
|
} |