Skip to content

Commit 1d13da9

Browse files
committed
Introduce LegacyApp to simplify porting run tests. scala#559
1 parent e9e3940 commit 1d13da9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/dotty/runtime/LegacyApp.scala

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package dotty.runtime
2+
3+
4+
/**
5+
* replaces the `scala.App` class which relies on `DelayedInit` functionality, not supported by Dotty.
6+
*/
7+
class LegacyApp {
8+
def main(args: Array[String]): Unit = ()
9+
}

0 commit comments

Comments
 (0)