aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dotty/runtime/LegacyApp.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dotty/runtime/LegacyApp.scala b/src/dotty/runtime/LegacyApp.scala
new file mode 100644
index 000000000..2c4b295d0
--- /dev/null
+++ b/src/dotty/runtime/LegacyApp.scala
@@ -0,0 +1,9 @@
+package dotty.runtime
+
+
+/**
+ * replaces the `scala.App` class which relies on `DelayedInit` functionality, not supported by Dotty.
+ */
+class LegacyApp {
+ def main(args: Array[String]): Unit = ()
+}