Support custom accessors for top-level properties in scripts.

This commit is contained in:
Dmitry Petrov
2017-01-24 10:29:34 +03:00
parent ab2448307e
commit a974ed1049
25 changed files with 750 additions and 47 deletions
@@ -7,7 +7,7 @@ annotation class Accessor(val value: String)
interface Z {
@Property("OK")
val z: String;
val z: String
@Accessor("OK")
get() = "OK"
}
@@ -7,7 +7,7 @@ annotation class Accessor(val value: String)
interface Z {
@Property("OK")
val z: String;
val z: String
@Accessor("OK")
get() = "OK"
}
@@ -2,7 +2,7 @@
// KOTLIN_CONFIGURATION_FLAGS: +JVM.JVM8_TARGET_WITH_DEFAULTS
interface Z {
val z: String;
val z: String
get() = "OK"
}
+1 -1
View File
@@ -1,7 +1,7 @@
// JVM_TARGET: 1.8
interface Z {
val z: String;
val z: String
get() = "OK"
}