dart-archive / web-components

Dart package providing the web components platform polyfills
https://pub.dartlang.org/packages/web_components
BSD 3-Clause "New" or "Revised" License
18 stars 10 forks source link

provide better error messages if compiling without transformers #13

Open sigmundch opened 9 years ago

sigmundch commented 9 years ago

We have noticed cases where, if users compile with dart2js, but don't run pub-build, we try to use the mirror-based import crawler, and end up failing soon after that.

I wonder if we could detect this and provide an easy to understand error message.

nex3 commented 9 years ago

See dart-lang/test#84, where this bit someone.

jakemac53 commented 9 years ago

Interesting, I would have expected it to work but produce bloated output and give warnings about dart:mirrors?