support new interface for jvm frontend

This commit is contained in:
Vasily Levchenko
2016-10-17 14:00:01 +03:00
parent a2b1f028c8
commit ddae560ffe
@@ -43,11 +43,11 @@ class K2Native : CLICompiler<K2NativeCompilerArguments>() {
return TopDownAnalyzerFacadeForJVM.analyzeFilesWithJavaIntegration(
moduleContext,
environment.project,
environment.getSourceFiles(),
sharedTrace,
environment.configuration,
JvmPackagePartProvider(environment)
{ scope -> JvmPackagePartProvider(environment, scope) }
)
}
override fun reportEnvironmentErrors() {