Files
kotlin-fork/compiler/testData/cli/jvm/plugins/mixingModernAndLegacyArgs.out
T
Dmitriy Novozhilov 928416c9c5 [CLI] Introduce new compiler arguments for registering compiler plugins
With new syntax each plugin should be registered in separate argument with syntax
`-Xcompiler-plugin=classpath1,classpath2[=argument1=value1,argument2=value2]`
2022-07-20 09:07:26 +00:00

9 lines
350 B
Plaintext
Vendored

error: mixing legacy and modern plugin arguments is prohibited. Please use only one syntax
Legacy arguments:
-Xplugin=dist/kotlinc/lib/allopen-compiler-plugin.jar
-P plugin:org.jetbrains.kotlin.allopen:annotation=foo.AllOpen
Modern arguments:
-Xcompiler-plugin=dist/kotlinc/lib/noarg-compiler-plugin.jar=annotation=foo.NoArg
COMPILATION_ERROR