Minor: cleanup
This commit is contained in:
@@ -28,8 +28,7 @@ interface ModuleInfo {
|
|||||||
// The common module usually depends on kotlin-stdlib-common which may or may not have its own (common, non-JVM) built-ins,
|
// The common module usually depends on kotlin-stdlib-common which may or may not have its own (common, non-JVM) built-ins,
|
||||||
// but if they are present, they should come after JVM built-ins in the dependencies list, because JVM built-ins contain
|
// but if they are present, they should come after JVM built-ins in the dependencies list, because JVM built-ins contain
|
||||||
// additional members dependent on the JDK
|
// additional members dependent on the JDK
|
||||||
fun dependencyOnBuiltIns(): ModuleInfo.DependencyOnBuiltIns =
|
fun dependencyOnBuiltIns(): DependencyOnBuiltIns = analyzerServices.dependencyOnBuiltIns()
|
||||||
analyzerServices.dependencyOnBuiltIns()
|
|
||||||
|
|
||||||
//TODO: (module refactoring) provide dependency on builtins after runtime in IDEA
|
//TODO: (module refactoring) provide dependency on builtins after runtime in IDEA
|
||||||
enum class DependencyOnBuiltIns { NONE, AFTER_SDK, LAST }
|
enum class DependencyOnBuiltIns { NONE, AFTER_SDK, LAST }
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ abstract class ResolverForModuleFactory {
|
|||||||
class LazyModuleDependencies<M : ModuleInfo>(
|
class LazyModuleDependencies<M : ModuleInfo>(
|
||||||
storageManager: StorageManager,
|
storageManager: StorageManager,
|
||||||
private val module: M,
|
private val module: M,
|
||||||
firstDependency: M? = null,
|
firstDependency: M?,
|
||||||
private val resolverForProject: AbstractResolverForProject<M>
|
private val resolverForProject: AbstractResolverForProject<M>
|
||||||
) : ModuleDependencies {
|
) : ModuleDependencies {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user