Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue warning when calling polymerCreated twice #15360

Closed
sigmundch opened this issue Nov 27, 2013 · 8 comments
Closed

issue warning when calling polymerCreated twice #15360

sigmundch opened this issue Nov 27, 2013 · 8 comments
Labels
area-pkg P3 A lower priority bug or feature request

Comments

@sigmundch
Copy link
Member

Common error:
 - extend DivElement, use 'polymerCreated' explicitly
 - switch to extend PolymerElement, but forgot to remove the 'polymerCreated' call.
 - problem: polymerCreated is invoked twice

Possible solutions:
 - provide warnings in the linter: this is unfortunately something we can't do without full use of the dart analyzer/resoltion, which can be expensive
 - make polymerCreated reentrant (at least print a warning the second time it's invoked).

@sigmundch
Copy link
Member Author

Removed this from the 1.6 milestone.
Added this to the Later milestone.

@sigmundch
Copy link
Member Author

Removed Priority-Unassigned label.
Added Priority-Medium label.

@sigmundch
Copy link
Member Author

Removed Priority-Medium label.
Added Priority-Low label.

@sigmundch
Copy link
Member Author

Added Polymer-P-2 label.

@sigmundch
Copy link
Member Author

Removed this from the Later milestone.

@sigmundch
Copy link
Member Author

Removed Polymer-P-2 label.
Added Polymer-Milestone-Later label.

@sigmundch
Copy link
Member Author

Removed Polymer-Milestone-Later label.
Added PolymerMilestone-Later label.

@DartBot
Copy link

DartBot commented Jun 5, 2015

This issue has been moved to dart-archive/polymer-dart#371.

@DartBot DartBot closed this as completed Jun 5, 2015
@kevmoo kevmoo removed the triaged label Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-pkg P3 A lower priority bug or feature request
Projects
None yet
Development

No branches or pull requests

3 participants