-
Notifications
You must be signed in to change notification settings - Fork 1.7k
private method event handlers don't work in dart2js #13559
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
Comments
uh, if it works in dartium and fails in dart2js, it means there's a bug somewhere. We shouldn't be adding code to warn about bugs in other parts of the system, we should fix the bugs :)
what errors? Removed Library-Polymer label. |
Changed the title to: "private method event handlers don't work in dart2js". |
hmmm, did some more digging and I think this is due to #13355 good catch Kevin! Marked this as being blocked by #13355. |
Added Triaged label. |
Added this to the Later milestone. |
I've created custom elements with private event handlers
<input id='search_input' type="text" class="form-control"
on-key-up="_searchKeyUp" placeholder="Search or Create"
value="{{ controller.searchTerm }}">
void _searchKeyUp(KeyboardEvent e, dynamic detail, Node target) { ... }
* Works fine run directly in Dartium.
* Compiling to JS and running in Chrome is the first time I get errors about private event handlers
Would be great to be warned earlier
The text was updated successfully, but these errors were encountered: