Do not use parameter descriptors in most annotation implementations
Except AnnotationDescriptorImpl, which is refactored in the subsequent commit. Note that we no longer check the presence of parameters with the corresponding names in the annotation class in LazyJavaAnnotationDescriptor, this is why test data changed
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@ public fun bar(): @test.Ann kotlin.String
|
||||
public interface Ann {
|
||||
}
|
||||
|
||||
@test.Ann public final class Test {
|
||||
@test.Ann(s = "class") public final class Test {
|
||||
public constructor Test()
|
||||
@test.Ann public final fun foo(/*0*/ @test.Ann s: @test.Ann kotlin.String): @test.Ann kotlin.String
|
||||
@test.Ann(s = "function") public final fun foo(/*0*/ @test.Ann(s = "parameter") s: @test.Ann kotlin.String): @test.Ann kotlin.String
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user