Add -Xuse-fir-lt=false to some scripting tests

make them compatible with K2
This commit is contained in:
Mikhail Glukhikh
2023-07-11 14:29:12 +02:00
committed by Space Team
parent 6144ae7a6f
commit f9c7a88175
5 changed files with 12 additions and 8 deletions
@@ -80,7 +80,7 @@ class CompilerClientIT {
fun testSimpleScript() {
val (out, code) = runCompiler(
"-cp", compilationClasspath.joinToString(File.pathSeparator) { it.canonicalPath },
"-Xallow-any-scripts-in-source-roots",
"-Xuse-fir-lt=false", "-Xallow-any-scripts-in-source-roots",
File("testData/scripts/simpleHelloWorld.kts").canonicalPath)
assertEquals(0, code, "compilation failed:\n" + out + "\n")
}