-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Polymer app does not work after compilation to JS #16068
Comments
This comment was originally written by dev...@futureperfect.info I think this is the same issue as: https://code.google.com/p/dart/issues/detail?id=15401 I am running into this often with function members of custom elements. |
Issue #15401 has been merged into this issue. |
Fixed in r32018. Added Fixed label. |
Had to revert. Set owner to @floitschG. |
Landed a fixed version in r32073. Added Fixed label. |
This comment was originally written by dev...@futureperfect.info thanks! |
Unzip attach archive, pub get and then pub serve or pub build it, navigate to repro.html.
Observe the following error in the console:
TypeError: Cannot call method 'call$1' of undefined
at ClickCounter.f$1 (http://localhost:8080/repro.html_bootstrap.dart.js:4050:21)
at dart.J.f$1$x (http://localhost:8080/repro.html_bootstrap.dart.js:22988:39)
at A.f$1 (http://localhost:8080/repro.html_bootstrap.dart.js:4101:16)
at ClickCounter.enteredView$0 (http://localhost:8080/repro.html_bootstrap.dart.js:4054:15)
at dart.J.enteredView$0$x (http://localhost:8080/repro.html_bootstrap.dart.js:22985:39)
at _callEnteredView (http://localhost:8080/repro.html_bootstrap.dart.js:13060:14)
at invokeClosure_closure0.call$0 (http://localhost:8080/repro.html_bootstrap.dart.js:3548:29)
at _IsolateContext.eval$1 (http://localhost:8080/repro.html_bootstrap.dart.js:1321:23)
at dart._callInIsolate (http://localhost:8080/repro.html_bootstrap.dart.js:1101:26)
at invokeClosure (http://localhost:8080/repro.html_bootstrap.dart.js:2429:16)
Something seems to be wrong with the calling convention for the invocation through field of the polymer element.
Working sample should display ### !!! 0 !!! ### in bold.
Attachment:
dart2js-bug.zip (3.86 KB)
The text was updated successfully, but these errors were encountered: