From cea45c3b3dd7353ce1636467387bb8d47e7dd920 Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Sun, 2 Oct 2016 11:52:32 -0400 Subject: fix main method signature in dotty-example --- examples/dotty-example/src/Main.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/dotty-example') 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. -- cgit v1.2.3