Add AnalysisHandlerExtension extension point for K2JsCompiler
AnalysisHandlerExtension allows compiler plugins to: 1. Intercept and override the default analysis. 2. Utilize the compiler infrastructure to do custom analysis. A well know plugin on the JVM platform is KAPT.
This commit is contained in:
committed by
TeamCityServer
parent
4db79285c1
commit
8e7b561b10
+1
-1
@@ -60,7 +60,7 @@ abstract class AbstractDiagnosticsTestWithJsStdLib : AbstractDiagnosticsTest() {
|
||||
moduleTrace.record<ModuleDescriptor, ModuleKind>(MODULE_KIND, moduleContext.module, getModuleKind(files))
|
||||
config.configuration.languageVersionSettings = languageVersionSettings
|
||||
return TopDownAnalyzerFacadeForJS.analyzeFilesWithGivenTrace(
|
||||
files, moduleTrace, moduleContext, config.configuration, CompilerEnvironment,
|
||||
files, moduleTrace, moduleContext, config.configuration, CompilerEnvironment, config.project
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user