JVM IR: Support parameterless main methods
This commit: - introduces tests explicating what is and isn't considered a proper main method on the JVM backends. - implements support for parameterless main methods on the JVM IR backend - See KT-34338 for more tests.
This commit is contained in:
committed by
Alexander Udalov
parent
4b77db8979
commit
28b6913a25
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
fun main() {
|
||||
|
||||
}
|
||||
|
||||
fun main(args: Array<in String>) {
|
||||
|
||||
}
|
||||
|
||||
// method: ArrayWithContravariantStringIsNotMainMethodKt::main
|
||||
// jvm signature: ([Ljava/lang/String;)V
|
||||
// generic signature: null
|
||||
Reference in New Issue
Block a user