mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
UI is extracted from k1 implementation Java <-> kotlin interop is done through language agnostic api: each language implementation knows about usages in that language only + there are changeInfo converters which can transform javaChangeInfo <-> kotlinChangeInfo KTIJ-21132 GitOrigin-RevId: 03bfb8baeffb9e5691673f8e482395191332f89b
13 lines
126 B
Kotlin
13 lines
126 B
Kotlin
package test
|
|
|
|
class A
|
|
|
|
open var A.p: Int
|
|
get() = 1
|
|
set(value: Int) {}
|
|
|
|
fun test() {
|
|
val t = A().p
|
|
A().p = 1
|
|
}
|