[ULC] Fix annotations invalid parents

Fixed #KT-45287
This commit is contained in:
Igor Yakovlev
2021-03-04 18:29:17 +01:00
parent 179cf303da
commit b744f41c0d
3 changed files with 11 additions and 1 deletions
@@ -61,3 +61,5 @@ class Foo @Anno constructor(dependency: MyDependency) {
class Example(@field:Ann val foo: String, // annotate Java field
@get:Ann val bar: String, // annotate Java getter
@param:Ann val quux: String) // annotate Java constructor parameter
class CtorAnnotations(@Anno val x: String, @param:Anno val y: String, val z: String)