Run K2 scripts in PSI mode

This commit is contained in:
Mikhail Glukhikh
2023-07-11 14:29:12 +02:00
committed by Space Team
parent 11d86992c5
commit 0a498660cb
17 changed files with 48 additions and 22 deletions
@@ -8,7 +8,7 @@ build:
[javac] [TestData]/literals.kt:6:9: error: type mismatch: inferred type is FloatArray but IntArray was expected
[javac] @AnnInt([1, 2])
[javac] ^
[javac] [TestData]/literals.kt:9:9: error: type mismatch: inferred type is FloatArray but IntArray was expected
[javac] [TestData]/literals.kt:9:9: error: argument type mismatch: actual type is kotlin/FloatArray but kotlin/IntArray was expected
[javac] @AnnInt(intArrayOf(1, 2))
[javac] ^
@@ -9,6 +9,7 @@
</classpath>
<withKotlin>
<compilerarg value="-Xallow-kotlin-package"/>
<compilerarg line="-Xuse-fir-lt=false"/>
</withKotlin>
</javac>
<jar destfile="${temp}/literals.jar">