[CLI] Report compilation error if compiler plugins are enabled alongside with K2 compiler

^KT-52037 Fixed
This commit is contained in:
Dmitriy Novozhilov
2022-04-26 11:48:18 +04:00
parent e5bfb8295e
commit 19f4c3edda
6 changed files with 49 additions and 3 deletions
+6
View File
@@ -0,0 +1,6 @@
warning: ATTENTION!
This build uses in-dev FIR:
-Xuse-fir
error: compiler plugins are enabled with K2 compiler.
K2 does not support plugins yet, so please remove -Xuse-k2 flag
COMPILATION_ERROR