Files
sdk/pkg/compiler/lib
Srujan Gaddam 04e2482696 [dart2js] Add null checks on JS() expressions
Bug: https://github.com/dart-lang/sdk/issues/42536

Adds null checks on `JS()` invocations in dart:html and related
libraries if the static type is non-nullable. Renames option to
enable this to be consistent with DDC and adds tests.

Change-Id: Ia8c170cf0e1e4135966f36b25a83ec62becad701
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/163210
Commit-Queue: Srujan Gaddam <srujzs@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2020-09-23 17:49:49 +00:00
..