Get rid of some targetPlatform.builtIns usages

Retrieve builtIns from module itself when adding dependencies on them
This commit is contained in:
Denis Zharkov
2016-04-01 12:47:40 +03:00
parent e97fa929ea
commit c4a899d9a4
5 changed files with 6 additions and 19 deletions
@@ -163,7 +163,7 @@ public enum TopDownAnalyzerFacadeForJVM {
MutableModuleContext context = ContextKt.ContextForNewModule(
project, Name.special("<" + moduleName + ">"), JvmPlatform.INSTANCE
);
context.setDependencies(context.getModule(), JvmPlatform.INSTANCE.getBuiltIns().getBuiltInsModule());
context.setDependencies(context.getModule(), context.getBuiltIns().getBuiltInsModule());
return context;
}
}