Fix maven build + ~50 compiler tests broken by UNUSED_PARAMETER in main

This commit is contained in:
Mikhail Glukhikh
2018-10-26 14:08:11 +03:00
parent c54eb7db97
commit cb92009862
51 changed files with 56 additions and 53 deletions
+3 -6
View File
@@ -1,10 +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:16: error: unresolved reference: Array
fun main(args: Array<String>) = println("hello world")
^
compiler/testData/cli/jvm/simple.kt:1:33: error: unresolved reference: println
fun main(args: Array<String>) = println("hello world")
^
compiler/testData/cli/jvm/simple.kt:1:14: error: unresolved reference: println
fun main() = println("hello world")
^
COMPILATION_ERROR