I've two polymer elements that share the same dart file. In the dart file I declare both the PolymerElement classes.
Until polymer 0.15.0+1 it was working fine. I've updated the project to polymer 0.15.1 and now I get this exception:
Exception: Already registered (Polymer) prototype for element x
Where x is the first polymer.
I think the polymer transformer is trying to register it two times, the first scanning the x polymer html file, the second when scanning the other element html file.
An issue has been open in dart: https://code.google.com/p/dart/issues/detail?id=21332