0f7add33bd
This brings ddc to parity with dart2js when running benchmarks and fixes a crash in the migrated Utf8Decode benchmarks. In the future we might reject programs based on the signature of the main method or introduce runtime errors but that is still under discussion https://github.com/dart-lang/language/issues/1120. Change-Id: I594f60e887ce05ef7074c72cbbe379c0d526707e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/156361 Reviewed-by: Stephen Adams <sra@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com>