[LL FIR] getOrBuildFir tests should render fir file
We need it to see how many declarations were resolved ^KT-59266
This commit is contained in:
committed by
Space Team
parent
8c2f1acc7e
commit
aad99fd6eb
+11
-1
@@ -3,4 +3,14 @@ FIR element: FirTypeParameterImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
[ResolvedTo(BODY_RESOLVE)] T
|
||||
[ResolvedTo(BODY_RESOLVE)] T
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] classTypeParemeter.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class X<[ResolvedTo(BODY_RESOLVE)] T> : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor<[ResolvedTo(BODY_RESOLVE)] T>(): R|X<T>| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+21
-1
@@ -3,4 +3,24 @@ FIR element: FirEnumEntryImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
public final static [ResolvedTo(BODY_RESOLVE)] enum entry ENTRY: R|X|
|
||||
public final static [ResolvedTo(BODY_RESOLVE)] enum entry ENTRY: R|X|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] enumEntry.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] enum class X : R|kotlin/Enum<X>| {
|
||||
private [ResolvedTo(STATUS)] constructor(): R|X| {
|
||||
LAZY_super<R|kotlin/Enum<X>|>
|
||||
}
|
||||
|
||||
public final static [ResolvedTo(BODY_RESOLVE)] enum entry ENTRY: R|X|
|
||||
public final static [ResolvedTo(STATUS)] fun values(): R|kotlin/Array<X>| {
|
||||
}
|
||||
|
||||
public final static [ResolvedTo(STATUS)] fun valueOf([ResolvedTo(STATUS)] value: R|kotlin/String|): R|X| {
|
||||
}
|
||||
|
||||
public final static [ResolvedTo(STATUS)] val entries: R|kotlin/enums/EnumEntries<X>|
|
||||
public [ResolvedTo(STATUS)] get(): R|kotlin/enums/EnumEntries<X>|
|
||||
|
||||
}
|
||||
|
||||
Vendored
+7
-1
@@ -3,4 +3,10 @@ FIR element: FirTypeParameterImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
[ResolvedTo(BODY_RESOLVE)] T
|
||||
[ResolvedTo(BODY_RESOLVE)] T
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] functionTypeParemeter.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun <[ResolvedTo(BODY_RESOLVE)] T> x(): R|kotlin/Unit|
|
||||
public? final? [ResolvedTo(RAW_FIR)] fun <no name provided>(): R|kotlin/Unit| { LAZY_BLOCK }
|
||||
|
||||
Vendored
+7
-1
@@ -3,4 +3,10 @@ FIR element: FirValueParameterImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
[ResolvedTo(BODY_RESOLVE)] x: R|kotlin/Int|
|
||||
[ResolvedTo(BODY_RESOLVE)] x: R|kotlin/Int|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] functionValueParameter.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] x: R|kotlin/Int|): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
+9
-1
@@ -5,4 +5,12 @@ FIR source kind: KtRealSourceElementKind
|
||||
FIR element rendered:
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/String| {
|
||||
^ String()
|
||||
}
|
||||
}
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] getter.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val x: R|kotlin/String|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/String| {
|
||||
^ String()
|
||||
}
|
||||
|
||||
+16
-1
@@ -10,4 +10,19 @@ local final [ResolvedTo(BODY_RESOLVE)] class X : R|kotlin/Any| {
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/String|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] localClass.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/Unit| {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] class X : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|X| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/String|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+11
-1
@@ -5,4 +5,14 @@ FIR source kind: KtRealSourceElementKind
|
||||
FIR element rendered:
|
||||
local final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/String| {
|
||||
^x String()
|
||||
}
|
||||
}
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] localFunction.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/Unit| {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/String| {
|
||||
^x String()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+8
-1
@@ -3,4 +3,11 @@ FIR element: FirPropertyImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
[ResolvedTo(BODY_RESOLVE)] lval x: R|kotlin/String| = String()
|
||||
[ResolvedTo(BODY_RESOLVE)] lval x: R|kotlin/String| = String()
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] localProperty.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/Unit| {
|
||||
[ResolvedTo(BODY_RESOLVE)] lval x: R|kotlin/String| = String()
|
||||
}
|
||||
|
||||
+15
-1
@@ -5,4 +5,18 @@ FIR source kind: KtRealSourceElementKind
|
||||
FIR element rendered:
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/String| {
|
||||
^x String()
|
||||
}
|
||||
}
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] memberFunction.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] class Y : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] constructor(): R|Y| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/String| {
|
||||
^x String()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+14
-1
@@ -4,4 +4,17 @@ FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val x: R|kotlin/String| = String()
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/String|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/String|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] memberProperty.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] class Y : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] constructor(): R|Y| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val x: R|kotlin/String| = String()
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/String|
|
||||
|
||||
}
|
||||
|
||||
+13
-1
@@ -3,4 +3,16 @@ FIR element: FirTypeAliasImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
public final [ResolvedTo(BODY_RESOLVE)] typealias Str = R|kotlin/String|
|
||||
public final [ResolvedTo(BODY_RESOLVE)] typealias Str = R|kotlin/String|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] memberTypeAlias.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] class Y : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] constructor(): R|Y| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] typealias Str = R|kotlin/String|
|
||||
|
||||
}
|
||||
|
||||
+20
-1
@@ -10,4 +10,23 @@ public final [ResolvedTo(BODY_RESOLVE)] class X : R|kotlin/Any| {
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/String|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] nestedClass.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] class Y : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] constructor(): R|Y| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class X : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Y.X| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/String|
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+14
-1
@@ -3,4 +3,17 @@ FIR element: FirValueParameterImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
[ResolvedTo(BODY_RESOLVE)] x: R|kotlin/Int|
|
||||
[ResolvedTo(BODY_RESOLVE)] x: R|kotlin/Int|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] primaryConstructorValValueParameter.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] class X : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] x: R|kotlin/Int|): R|X| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val x: R|kotlin/Int| = R|<local>/x|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
|
||||
}
|
||||
|
||||
+11
-1
@@ -3,4 +3,14 @@ FIR element: FirValueParameterImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
[ResolvedTo(BODY_RESOLVE)] x: R|kotlin/Int|
|
||||
[ResolvedTo(BODY_RESOLVE)] x: R|kotlin/Int|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] primaryConstructorValueParameter.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] class X : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] x: R|kotlin/Int|): R|X| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+15
-1
@@ -3,4 +3,18 @@ FIR element: FirValueParameterImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
[ResolvedTo(BODY_RESOLVE)] y: R|kotlin/String|
|
||||
[ResolvedTo(BODY_RESOLVE)] y: R|kotlin/String|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] secondaryConstructorValueParameter.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] class X : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] constructor([ResolvedTo(STATUS)] x: R|kotlin/Int|): R|X| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] y: R|kotlin/String|): R|X| {
|
||||
this<R|X|>(Int(1))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+9
-1
@@ -4,4 +4,12 @@ FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
public [ResolvedTo(BODY_RESOLVE)] set([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/String|): R|kotlin/Unit| {
|
||||
}
|
||||
}
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] setter.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] var x: R|kotlin/String|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/String|
|
||||
public [ResolvedTo(BODY_RESOLVE)] set([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/String|): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
+13
-1
@@ -10,4 +10,16 @@ public final [ResolvedTo(BODY_RESOLVE)] class X : R|kotlin/Any| {
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/String|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] topLevelClass.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class X : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|X| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/String|
|
||||
|
||||
}
|
||||
|
||||
+9
-1
@@ -6,4 +6,12 @@ FIR element rendered:
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/Unit| {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/String|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] topLevelFunction.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/Unit| {
|
||||
local final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/String|
|
||||
|
||||
}
|
||||
|
||||
+7
-1
@@ -4,4 +4,10 @@ FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val x: R|kotlin/Int| = Int(1)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] topLevelProperty.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val x: R|kotlin/Int| = Int(1)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
|
||||
Vendored
+6
-1
@@ -3,4 +3,9 @@ FIR element: FirTypeAliasImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
public final [ResolvedTo(BODY_RESOLVE)] typealias Str = R|kotlin/String|
|
||||
public final [ResolvedTo(BODY_RESOLVE)] typealias Str = R|kotlin/String|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] topLevelTypelTypeAlias.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] typealias Str = R|kotlin/String|
|
||||
|
||||
Reference in New Issue
Block a user