fix KT-10064 Regression: Error with multiple main functions within a single package

#KT-10064 Fixed
This commit is contained in:
Michael Nedzelsky
2015-11-19 02:19:57 +03:00
parent 49f0953898
commit aa8f3df9a8
9 changed files with 48 additions and 24 deletions
@@ -0,0 +1,3 @@
package foo
fun main(args: Array<String>) = println("a")
@@ -0,0 +1,3 @@
package foo
fun main(args: Array<String>) = println("A")
@@ -0,0 +1,3 @@
package foo
fun main(args: Array<String>) = println("b")
@@ -0,0 +1,7 @@
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/foo/AKt.class
End of files
Compiling files:
src/a.kt
End of files