dart2js API should throw an exception for invalid options #16031
Labels
area-web-js
Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-dart2js
The [compile] function in compiler/compiler.dart takes a list of command-line options, but it doesn't provide any indication of whether or not those options are valid. It should throw some sort of exception if it receives an invalid option.
The text was updated successfully, but these errors were encountered: