Better main function recognition and tests

fix vararg main
This commit is contained in:
Sergey Mashkov
2015-07-24 13:45:47 +03:00
parent 8457b53f8b
commit 0453368990
3 changed files with 7 additions and 2 deletions
@@ -1,5 +1,5 @@
package pkg5
fun main(args: Array<out String>) {
// no
// yes
}
+5
View File
@@ -0,0 +1,5 @@
package varargMain
fun main(vararg args: String) {
// yes
}