We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1339c4 + 3f60edc commit 850d963Copy full SHA for 850d963
src/main/g8/src/main/scala/Main.scala
@@ -1,4 +1,4 @@
1
-def main(args: Array[String]): Unit = {
+@main def hello: Unit = {
2
println("Hello world!")
3
println(msg)
4
}
0 commit comments