[LL] Run LLFirExpectActualMatchingTargetResolver only for KMP projects
Review: https://jetbrains.team/p/kt/reviews/13244 Motivation: Performance. When I fix KT-59887 in later commits, I will make actual-to-expect resolve to work not only for actual declarations. Considering that LLFirExpectActualMatcherLazyResolver worked even for non-KMP projects that might be a potential performance regression FirExpectActualMatcherProcessor in the compiler does the same thing (it checks for MultiPlatformProjects before running the transformer)
This commit is contained in:
Vendored
+1
-1
@@ -10,6 +10,6 @@ FILE: [ResolvedTo(IMPORTS)] expectAndActualInTheSameFile.kt
|
||||
public? final? [ResolvedTo(RAW_FIR)] fun main(): R|kotlin/Unit| { LAZY_BLOCK }
|
||||
public? final? expect [ResolvedTo(RAW_FIR)] fun f(): R|kotlin/Unit|
|
||||
public? final? [ResolvedTo(RAW_FIR)] fun test(): R|kotlin/Unit| { LAZY_BLOCK }
|
||||
public final actual [ResolvedTo(BODY_RESOLVE)] [ExpectForActualAttributeKey={}] fun f(): R|kotlin/Unit| {
|
||||
public final actual [ResolvedTo(BODY_RESOLVE)] fun f(): R|kotlin/Unit| {
|
||||
<Unresolved name: println>#(String(Hello))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user