Use getter names for $annotations methods in most codegen tests

This is needed to update master to 1.4, while still testing the latest
compiler by default. Also add one test on the old behavior.
This commit is contained in:
Alexander Udalov
2019-12-27 15:59:03 +01:00
parent 330dd789de
commit e2a42446ed
20 changed files with 63 additions and 33 deletions
@@ -1,4 +1,4 @@
// !LANGUAGE: -UseGetterNameForPropertyAnnotationsMethodOnJvm
// !LANGUAGE: +UseGetterNameForPropertyAnnotationsMethodOnJvm
@Target(AnnotationTarget.PROPERTY)
annotation class AnnProperty
@@ -33,4 +33,4 @@ annotation class Anno
@Anno
val p2: Int = 4
get() = field
get() = field