Closed jakemac53 closed 8 years ago
technically lgtm, but let's hear what @munificent has to say.
@jakemac53 and I talked about it over lunch. Like @sigmundch notes, pub makes this restriction in the hopes that we can take advantage of it to get better import syntax. I'd really hate to abandon that.
Ideally, we'd make package names like this an eagerly detected error in pub, but that would be a breaking change at this point. (And a breaking change with little end user value today since it's not like we have better import syntax yet.)
Given that, the safest thing to do is to have Polymer detect this error and report it.
@sigmundch updated to throw an error instead
lgtm!
closes https://github.com/dart-lang/web-components/issues/36