Minor: cleanup

This commit is contained in:
Pavel Kirpichenkov
2020-12-11 13:20:52 +03:00
parent b9d5c1bc39
commit ba4cc4e075
2 changed files with 2 additions and 3 deletions
@@ -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,
// 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
fun dependencyOnBuiltIns(): ModuleInfo.DependencyOnBuiltIns =
analyzerServices.dependencyOnBuiltIns()
fun dependencyOnBuiltIns(): DependencyOnBuiltIns = analyzerServices.dependencyOnBuiltIns()
//TODO: (module refactoring) provide dependency on builtins after runtime in IDEA
enum class DependencyOnBuiltIns { NONE, AFTER_SDK, LAST }
@@ -129,7 +129,7 @@ abstract class ResolverForModuleFactory {
class LazyModuleDependencies<M : ModuleInfo>(
storageManager: StorageManager,
private val module: M,
firstDependency: M? = null,
firstDependency: M?,
private val resolverForProject: AbstractResolverForProject<M>
) : ModuleDependencies {