dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.26k stars 1.58k forks source link

dart2js should generate a fatal compile error if dart:html and dart:dom are imported at the same time #1911

Closed jacob314 closed 9 years ago

jacob314 commented 12 years ago

Now that dart:html is switching to a wrapper free design, importing both libraries accidentally into the same isolate causes hard to debug bugs.

jacob314 commented 12 years ago

Any time two libraries imported into the same isolate reference the same native class we should generate a compile error.

iposva-google commented 12 years ago

Added Triaged label.

anders-sandholm commented 12 years ago

Removed Area-Frog label. Added Area-Dart2JS, FromAreaFrog labels.

kasperl commented 12 years ago

I believe this is still a problem with dart2js.


Removed FromAreaFrog label. Changed the title to: "dart2js should generate a fatal compile error if dart:html and dart:dom are imported at the same time".

kasperl commented 12 years ago

Added AssumedStale label.