Fix cli testdata for changed diagnostics in K2

This commit is contained in:
Ilya Chernikov
2023-08-23 12:37:51 +02:00
committed by Space Team
parent 7b49acb490
commit 3dc1b26d83
37 changed files with 64 additions and 61 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
warning: unable to find kotlin-stdlib.jar in the Kotlin home directory. Pass either '-no-stdlib' to prevent adding it to the classpath, or the correct '-kotlin-home'
warning: unable to find kotlin-script-runtime.jar in the Kotlin home directory. Pass either '-no-stdlib' to prevent adding it to the classpath, or the correct '-kotlin-home'
warning: unable to find kotlin-reflect.jar in the Kotlin home directory. Pass either '-no-reflect' or '-no-stdlib' to prevent adding it to the classpath, or the correct '-kotlin-home'
compiler/testData/cli/jvm/simple.kt:1:14: error: unresolved reference: println
compiler/testData/cli/jvm/simple.kt:1:14: error: unresolved reference 'println'.
fun main() = println("hello world")
^
COMPILATION_ERROR