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 e2efddc + 7493b51 commit 7535a06Copy full SHA for 7535a06
docs/_docs/reference/experimental/main-annotation.md
@@ -89,9 +89,9 @@ import scala.util.CommandLineParser.FromString[T]
89
def run(program: () => Int): Unit =
90
println("executing program")
91
92
- try {
93
- val result = program()
94
- println("result: " + result)
95
- println("executed program")
+ val result = program()
+ println("result: " + result)
+ println("executed program")
+
96
end myMain
97
```
0 commit comments