[JS IR] initial support for KLIB incremental compilation with K2

This commit is contained in:
Anton Bannykh
2023-04-06 12:17:36 +02:00
parent a9683bd4a8
commit c839fdca3e
15 changed files with 1362 additions and 138 deletions
@@ -109,6 +109,18 @@ fun main(args: Array<String>) {
model("incremental/scopeExpansion", extension = null, excludeParentDirs = true)
}
testClass<AbstractIncrementalJsFirKlibCompilerWithScopeExpansionRunnerTest> {
// IC of sealed interfaces are not supported in JS
// Some IC tests fail with K2
model("incremental/pureKotlin", extension = null, recursive = false,
excludedPattern = "^(sealed|propertyRedeclaration|funRedeclaration|funVsConstructorOverloadConflict).*")
model("incremental/classHierarchyAffected", extension = null, recursive = false,
excludedPattern = "^(secondaryConstructorAdded|withIntermediateBodiesChanged|companionObjectNameChanged).*")
model("incremental/js", extension = null, excludeParentDirs = true)
model("incremental/scopeExpansion", extension = null, excludeParentDirs = true,
excludedPattern = "^protectedBecomesPublicAccessedTroughChild.*")
}
testClass<AbstractIncrementalJsCompilerRunnerWithFriendModulesDisabledTest> {
model("incremental/js/friendsModuleDisabled", extension = null, recursive = false)
}