[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|
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user