aboutsummaryrefslogtreecommitdiff
path: root/library/src/dotty/runtime/LegacyApp.scala
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/dotty/runtime/LegacyApp.scala')
-rw-r--r--library/src/dotty/runtime/LegacyApp.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/library/src/dotty/runtime/LegacyApp.scala b/library/src/dotty/runtime/LegacyApp.scala
new file mode 100644
index 000000000..2c4b295d0
--- /dev/null
+++ b/library/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 = ()
+}