[LL FIR] LLFirStatusTargetResolver: add missing branch for FirFile
It is better to explicitly say that we shouldn't do anything in the case of the file. It worked before because of `needResolveMembers == false` and `needResolveNestedClassifiers == false` inside `LLFirStatusTargetResolver.Transformer` ^KT-65344
This commit is contained in:
committed by
Space Team
parent
697f1477fd
commit
d59b8b3244
+1
-1
@@ -188,7 +188,7 @@ private class LLFirStatusTargetResolver(
|
||||
override fun doLazyResolveUnderLock(target: FirElementWithResolveState) {
|
||||
when (target) {
|
||||
is FirRegularClass -> error("should be resolved in doResolveWithoutLock")
|
||||
is FirScript -> {}
|
||||
is FirFile, is FirScript -> {}
|
||||
else -> target.transformSingle(transformer, data = null)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user