mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
KTIJ-34640: Support multiple compiler options directives for testing scripts
GitOrigin-RevId: 09791ac7a8c2429d763398ac42938bc654cb5a32
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ae85f0e33f
commit
17013dcfba
+2
-2
@@ -61,13 +61,13 @@ abstract class AbstractK2BundledCompilerPluginsInScriptHighlightingMetaInfoTest
|
||||
globalDirectives: Directives,
|
||||
configuration: ScriptCompilationConfiguration
|
||||
): ScriptCompilationConfiguration {
|
||||
val compilerArguments = globalDirectives[COMPILER_ARGUMENTS_DIRECTIVE.removeSuffix(":")]
|
||||
val compilerArguments = globalDirectives.listValues(COMPILER_ARGUMENTS_DIRECTIVE.removeSuffix(":"))
|
||||
if (compilerArguments == null) {
|
||||
return configuration
|
||||
}
|
||||
|
||||
return configuration.with {
|
||||
compilerOptions.putIfAny(listOf(compilerArguments))
|
||||
compilerOptions.putIfAny(compilerArguments)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user