Files
sdk/pkg/compiler/lib
Sigmund Cherem ba23762d2a dart2js: add missing check before reading argument list.
This causes a crash when invoking dart2js.dart with no arguments.

This is however minor, turns out that all environments invoking
dart2js always include an argument (and by default our snapshots
include the parameter to find the platform.dill file, for example).

Change-Id: I1c830768427f0c95e94100d092df445fee4224b6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/228262
Reviewed-by: Joshua Litt <joshualitt@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2022-01-14 20:56:13 +00:00
..