UL properties supports JvmSynthetic annotation for get: and set: modifiers

(+small refactoring)
Fixed #KT-34973
This commit is contained in:
Igor Yakovlev
2020-03-16 14:50:17 +03:00
parent 0e26194a27
commit af1e3fb10d
4 changed files with 69 additions and 44 deletions
@@ -0,0 +1,9 @@
public final class X /* X*/ {
@null()
public X();
public final int getW();
public final void setV(int);
}
@@ -0,0 +1,9 @@
class X {
@get:JvmSynthetic
var v = 1
@set:JvmSynthetic
var w = 1
}