[FIR] FirRenderer: add missing resolvePhaseRenderer usage for anonymous initializer and dangling modifiers
This commit is contained in:
committed by
Space Team
parent
c9df6aff5f
commit
c6bb9af823
+1
-1
@@ -7,4 +7,4 @@ FIR element rendered:
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] danglingAnnotation.kt
|
||||
@R|kotlin/Suppress|[Types](names = vararg(String())) @R|kotlin/annotation/MustBeDocumented|[Types]() <DANGLING MODIFIER: Top level declaration expected>
|
||||
[ResolvedTo(BODY_RESOLVE)] @R|kotlin/Suppress|[Types](names = vararg(String())) @R|kotlin/annotation/MustBeDocumented|[Types]() <DANGLING MODIFIER: Top level declaration expected>
|
||||
Vendored
+2
-2
@@ -12,5 +12,5 @@ FILE: [ResolvedTo(IMPORTS)] danglingAnnotationInClass.kt
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
@R|kotlin/Suppress|[Types](names = vararg(String())) @R|kotlin/annotation/MustBeDocumented|[Types]() <DANGLING MODIFIER: Top level declaration expected>
|
||||
}
|
||||
[ResolvedTo(BODY_RESOLVE)] @R|kotlin/Suppress|[Types](names = vararg(String())) @R|kotlin/annotation/MustBeDocumented|[Types]() <DANGLING MODIFIER: Top level declaration expected>
|
||||
}
|
||||
@@ -18,7 +18,7 @@ FILE: [ResolvedTo(IMPORTS)] argsFromInit.kts
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
init {
|
||||
[ResolvedTo(BODY_RESOLVE)] init {
|
||||
<Unresolved name: foo>#(<L> = [ResolvedTo(RAW_FIR)] foo@fun <anonymous>(): R|kotlin/Int| <inline=Unknown> {
|
||||
^ R|<local>/args|.R|SubstitutionOverride<kotlin/Array.size: R|kotlin/Int|>|
|
||||
}
|
||||
|
||||
+3
-3
@@ -3,7 +3,7 @@ FIR element: FirAnonymousInitializerImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
init {
|
||||
[ResolvedTo(BODY_RESOLVE)] init {
|
||||
[ResolvedTo(RAW_FIR)] lval i: R|kotlin/Int| = Int(1)
|
||||
}
|
||||
|
||||
@@ -23,8 +23,8 @@ FILE: [ResolvedTo(IMPORTS)] initializerConflict.kt
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
init {
|
||||
[ResolvedTo(BODY_RESOLVE)] init {
|
||||
[ResolvedTo(RAW_FIR)] lval i: R|kotlin/Int| = Int(1)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -3,7 +3,7 @@ FIR element: FirDanglingModifierListImpl
|
||||
FIR source kind: DanglingModifierList
|
||||
|
||||
FIR element rendered:
|
||||
<DANGLING MODIFIER: Top level declaration expected>
|
||||
[ResolvedTo(BODY_RESOLVE)] <DANGLING MODIFIER: Top level declaration expected>
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] secondaryConstructor.kt
|
||||
@@ -17,5 +17,5 @@ FILE: [ResolvedTo(IMPORTS)] secondaryConstructor.kt
|
||||
|
||||
public final [ResolvedTo(STATUS)] fun <no name provided>(): R|kotlin/Unit| { LAZY_BLOCK }
|
||||
|
||||
<DANGLING MODIFIER: Top level declaration expected>
|
||||
[ResolvedTo(BODY_RESOLVE)] <DANGLING MODIFIER: Top level declaration expected>
|
||||
}
|
||||
Reference in New Issue
Block a user