aboutsummaryrefslogtreecommitdiff
path: root/examples/dotty-example
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-10-02 11:52:32 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-10-02 13:39:53 -0400
commitcea45c3b3dd7353ce1636467387bb8d47e7dd920 (patch)
tree72afac7f4e6458572c319655c46c9ec11007029d /examples/dotty-example
parentdde9ac16434e7ddb7f24504c864c78a87e043553 (diff)
downloadcbt-cea45c3b3dd7353ce1636467387bb8d47e7dd920.tar.gz
cbt-cea45c3b3dd7353ce1636467387bb8d47e7dd920.tar.bz2
cbt-cea45c3b3dd7353ce1636467387bb8d47e7dd920.zip
fix main method signature in dotty-example
Diffstat (limited to 'examples/dotty-example')
-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.