[Resolve] Compute dependency on SDK properly
Under COMPOSITE resolution mode (see ResolutionModeComponent) we have no fixed and globally known SDK, instead, for each module we have to find SDK it it's transitive dependencies. Currently, this is necessary in order to create proper JvmBuiltIns, which need dependency on SDK to be present in immediate dependencies.
This commit is contained in:
+1
-1
@@ -96,7 +96,7 @@ class MultiModuleJavaAnalysisCustomTest : KtUsefulTestCase() {
|
||||
resolverForModuleFactoryByPlatform = {
|
||||
JvmResolverForModuleFactory(platformParameters, CompilerEnvironment, JvmPlatforms.defaultJvmPlatform)
|
||||
},
|
||||
builtIns = builtIns
|
||||
sdkDependency = { null }
|
||||
)
|
||||
|
||||
builtIns.initialize(
|
||||
|
||||
Reference in New Issue
Block a user