[FIR-TEST] Get rid of deprecated methods usage in AbstractFirLoadCompiledKotlin
Now complied declaration names are collected via ModuleDescriptor, so tests pass more correctly. Before this change tests didn't render compiled typealiases and properties. Also some testdata was changed because of new order of declaration
This commit is contained in:
+4
@@ -1,4 +1,8 @@
|
||||
@PROPERTY:R|test/Anno|() public final val x: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
+4
@@ -1,3 +1,6 @@
|
||||
@FIELD:R|test/Anno|(t = R|java/lang/annotation/ElementType.FIELD|()) public final val bar: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
@R|test/Anno|(t = R|java/lang/annotation/ElementType.METHOD|()) public final fun foo(): R|kotlin/Unit|
|
||||
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
@@ -7,3 +10,4 @@ public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(t: R|java/lang/annotation/ElementType|): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
|
||||
+4
@@ -1,3 +1,6 @@
|
||||
@FIELD:R|test/Anno|(t = <implicitArrayOf>(R|java/lang/annotation/ElementType.PACKAGE|())) public final val bar: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
@R|test/Anno|(t = <implicitArrayOf>()) public final fun baz(): R|kotlin/Unit|
|
||||
|
||||
@R|test/Anno|(t = <implicitArrayOf>(R|java/lang/annotation/ElementType.METHOD|(), R|java/lang/annotation/ElementType.FIELD|())) public final fun foo(): R|kotlin/Unit|
|
||||
@@ -9,3 +12,4 @@ public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(vararg t: R|kotlin/Array<out java/lang/annotation/ElementType>|): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
+4
@@ -1,4 +1,8 @@
|
||||
public final val property: R|kotlin/Int|
|
||||
@R|test/Anno|() public get(): R|kotlin/Int|
|
||||
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
|
||||
compiler/fir/analysis-tests/testData/loadCompiledKotlin/annotations/packageMembers/PropertyField.txt
Vendored
+5
@@ -1,4 +1,9 @@
|
||||
@FIELD:R|test/Anno|() public final var property: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
+5
@@ -1,4 +1,9 @@
|
||||
public final var property: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
@R|test/Anno|() public set(value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
|
||||
+4
@@ -1,3 +1,6 @@
|
||||
@FIELD:R|test/Anno|(t = <implicitArrayOf>(String(prosper))) public final val bar: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
@R|test/Anno|(t = <implicitArrayOf>()) public final fun baz(): R|kotlin/Unit|
|
||||
|
||||
@R|test/Anno|(t = <implicitArrayOf>(String(live), String(long))) public final fun foo(): R|kotlin/Unit|
|
||||
@@ -9,3 +12,4 @@ public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(vararg t: R|kotlin/Array<out kotlin/String>|): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
|
||||
+5
@@ -1,3 +1,7 @@
|
||||
public final var foo: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
public set(@R|test/A|() @R|test/B|() value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public final annotation class A : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/A|
|
||||
|
||||
@@ -7,3 +11,4 @@ public final annotation class B : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/B|
|
||||
|
||||
}
|
||||
|
||||
|
||||
+10
@@ -1,3 +1,12 @@
|
||||
@PROPERTY:R|test/DoubleAnno|() public final val R|kotlin/Double|.extension: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
@PROPERTY:R|test/IntAnno|() public final val R|kotlin/Int|.extension: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
@PROPERTY:R|test/StringAnno|() public final val R|kotlin/String|.extension: R|kotlin/String|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public final annotation class DoubleAnno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/DoubleAnno|
|
||||
|
||||
@@ -12,3 +21,4 @@ public final annotation class StringAnno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/StringAnno|
|
||||
|
||||
}
|
||||
|
||||
|
||||
+4
@@ -1,4 +1,8 @@
|
||||
@PROPERTY:R|test/Anno|() public final val property: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public final annotation class Anno : R|kotlin/Annotation| {
|
||||
public constructor(): R|test/Anno|
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
+3
@@ -5,9 +5,12 @@ public final fun typeAnnotation(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
|
||||
public final typealias TypeAliasAnnotation<X> = R|kotlin/collections/List<X>|
|
||||
|
||||
public final class TypeParameterAnnotation : R|kotlin/Any| {
|
||||
public final fun <T> foo(x: R|T|): R|kotlin/Unit|
|
||||
|
||||
public constructor(): R|test/TypeParameterAnnotation|
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user