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
@@ -119,7 +119,7 @@ public class CompilerSmokeTest extends CompilerSmokeTestBase {
public void testCompileScript() throws Exception {
String jar = tmpdir.getAbsolutePath() + File.separator + "script.jar";
runCompiler("script", "-Xallow-any-scripts-in-source-roots", "script.kts", "-d", jar);
runCompiler("script", "-Xuse-fir-lt=false", "-Xallow-any-scripts-in-source-roots", "script.kts", "-d", jar);
}
public void testInlineOnly() throws Exception {