fix main function detection to rely on actually resolved types

This commit is contained in:
Ladislav Thon
2014-02-16 02:24:17 +01:00
committed by Evgeny Gerashchenko
parent a2f6b99862
commit 36bc7580aa
21 changed files with 242 additions and 84 deletions
@@ -0,0 +1,9 @@
package foo
var ok = "FAIL"
fun main(vararg args: kotlin.String) {
ok = "OK"
}
fun box(): String = ok