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
@@ -47,7 +47,7 @@ class CompilerFileLimitTest : CompilerSmokeTestBase() {
appendln("// kotlin rules ... and stuff")
}
}
appendln("fun main(args: Array<String>)")
appendln("fun main()")
appendln("{")
appendln("\tval result = Class5().foo() + Class$size().foo()")
appendln("\tprintln(result)")
@@ -81,7 +81,7 @@ class CompilerFileLimitTest : CompilerSmokeTestBase() {
return buildString {
append("package usesLarge\n\n")
append("import large.Large\n\n")
appendln("fun main(args: Array<String>)")
appendln("fun main()")
appendln("{")
appendln("\tval result = Large.Class0().foo() + Large.Class$size().foo()")
appendln("\tprintln(result)")