mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 00:21:29 +00:00
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
7
compiler/testData/codegen/bytecodeText/parameterlessMain/dontGenerateOnNullableArray.kt
vendored
Normal file
7
compiler/testData/codegen/bytecodeText/parameterlessMain/dontGenerateOnNullableArray.kt
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
fun main() {
|
||||
|
||||
}
|
||||
|
||||
fun main(args: Array<String>?) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user