[K1] Rename analysis flag expectActualLinker
Rename analysis flag `expectActualLinker` to `skipExpectedActualDeclarationChecker` to better reflect its semantics. This flag isn't used on IDE plugin side, so no additional changes in `intellij` repo are needed. ^KT-61136
This commit is contained in:
committed by
Space Team
parent
1af7649ee9
commit
98b3bdb175
+1
-1
@@ -55,7 +55,7 @@ class ExpectedActualDeclarationChecker(
|
||||
override fun check(declaration: KtDeclaration, descriptor: DeclarationDescriptor, context: DeclarationCheckerContext) {
|
||||
if (!context.languageVersionSettings.supportsFeature(LanguageFeature.MultiPlatformProjects)) return
|
||||
// TODO: we need a klib based MPP aware ModuleStructureOracle. Just disable the checks for now.
|
||||
if (context.languageVersionSettings.getFlag(AnalysisFlags.expectActualLinker)) return
|
||||
if (context.languageVersionSettings.getFlag(AnalysisFlags.skipExpectedActualDeclarationChecker)) return
|
||||
|
||||
// Note that this check is necessary, because for default accessors KtProperty is passed for KtDeclaration, so this
|
||||
// case won't be covered by the next check (also, it accidentally fixes KT-28385)
|
||||
|
||||
Reference in New Issue
Block a user