[Test] Pass CompilerConfiguration to AbstractEnvironmentConfigurator.registerCompilerExtensions
This is needed to provide ability to configure extensions depending on configuration of specific test
This commit is contained in:
committed by
teamcity
parent
400ad6a01e
commit
afad6a564a
+3
-3
@@ -58,9 +58,9 @@ private class EnabledByDirectiveConfiguratorDecorator(
|
||||
languageVersion: LanguageVersion
|
||||
): Map<AnalysisFlag<*>, Any?> = original.provideAdditionalAnalysisFlags(directives, languageVersion)
|
||||
|
||||
override fun registerCompilerExtensions(project: Project, module: TestModule) {
|
||||
override fun registerCompilerExtensions(project: Project, module: TestModule, configuration: CompilerConfiguration) {
|
||||
if (directive !in module.directives) return
|
||||
|
||||
original.registerCompilerExtensions(project, module)
|
||||
original.registerCompilerExtensions(project, module, configuration)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user