Fix FIR bootstrap in version 2.0

This commit is contained in:
Mikhail Glukhikh
2022-12-28 16:15:03 +01:00
parent bbeae23b04
commit 13502abab9
4 changed files with 31 additions and 17 deletions
+2
View File
@@ -62,6 +62,8 @@ ext.configureFrontendIr = { Project project ->
if (project.kotlinBuildProperties.useFirForLibraries) {
freeCompilerArgs += "-Xuse-k2"
allWarningsAsErrors = false
} else if (project.kotlinBuildProperties.useFir) {
freeCompilerArgs += "-Xskip-prerelease-check"
}
if (project.properties.renderDiagnosticNames) {
freeCompilerArgs += "-Xrender-internal-diagnostic-names"