Support "--checked" in the dart2js Compiler API #17755
Labels
closed-obsolete
Closed as the reported issue is no longer relevant
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-dart2js
Currently, when invoking dart2js programmatically via the Compiler API, all of the options must be passed by string (issue #17754) and there's no validation of these options (issue #16031), nor any documentation. To make matters worse, it doesn't accept the same options as the command-line interface. In particular, the command-line interface allows "-c" or "--checked" to enable checked mode, but the Compiler interface only supports "--enable-checked-mode".
The text was updated successfully, but these errors were encountered: