Open
Description
Compiler version
3.4.2
Minimized code
@main def main(mode: String = "foo"): Unit = ???
Output
Illegal command line: more arguments expected
Expectation
- Please either support default values in @main
- or exit compilation with an error (to fail fast).