aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/dotty-example/src/Main.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/dotty-example/src/Main.scala b/examples/dotty-example/src/Main.scala
index 1963b51..fdc2068 100644
--- a/examples/dotty-example/src/Main.scala
+++ b/examples/dotty-example/src/Main.scala
@@ -1,5 +1,6 @@
+package dotty_example
object Main extends Foo("Hello Dotty - trait parameters, yay"){
- def main(args: Array[String]) = {
+ def main(args: Array[String]): Unit = {
println(hello)
// Sanity check the classpath: this won't run if the dotty jar is not present.