K2 scripting: separate scripts compilation into another session

when scripts are compiled along with other sources.
#KT-65865 fixed
This commit is contained in:
Ilya Chernikov
2024-02-05 17:41:15 +01:00
committed by Space Team
parent 3ce2172c79
commit e5a6900458
9 changed files with 120 additions and 21 deletions
@@ -82,6 +82,7 @@ class JvmLoadedMetadataDumpHandler(testServices: TestServices) : AbstractLoadedM
environment.getSearchScopeForProjectLibraries(),
libraryList,
isCommonSource = { false },
isScript = { false },
fileBelongsToModule = { _, _ -> false },
createProviderAndScopeForIncrementalCompilation = { null }
)