dart-sdk/pkg/_js_interop_checks
Srujan Gaddam ed009afc4c [package:js] Add static errors for invalid extends
Bug: https://github.com/dart-lang/sdk/issues/37896

dart2js disallows JS interop classes from extending Dart classes,
and ddc does not work as expected. Dart classes that extends JS
interop classes can't be declared in ddc and throw an error on
usage in dart2js. This CL adds static errors for both cases.

Change-Id: I72001d2e8bec046c0e1ab4c06fed8fcf84ade259
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164840
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Srujan Gaddam <srujzs@google.com>
2020-10-28 16:04:15 +00:00
..
lib [package:js] Add static errors for invalid extends 2020-10-28 16:04:15 +00:00
LICENSE Add missing LICENSE files for internal packages. 2020-07-15 08:33:53 +00:00
pubspec.yaml fix the pubspec.yaml change from https://dart-review.googlesource.com/c/sdk/+/159143 2020-08-20 17:28:43 +00:00
README.md

Shared kernel visitors checking for incorrect usage of @JS() style interop.