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

Generate JavaScript - error #5

Closed
avstudios opened this issue Aug 25, 2013 · 2 comments
Closed

Generate JavaScript - error #5

avstudios opened this issue Aug 25, 2013 · 2 comments

Comments

@avstudios
Copy link

I have very simple app and at the moment only one line in main function
Future device = enableDeviceAccess();
When I generate JavaScript file I'm getting error:

[path]/web/packages/js/js.dart:987:11: Hint: The class "Proxy" overrides "operator==", but not "get hashCode".
operator==(other) => identical(this, other)
^^
[path]//web/packages/js/js.dart:1002:34: Hint: Using "MirrorSystem.getName" may result in larger output.
String member = MirrorSystem.getName(invocation.memberName);
^^^^^^^

Still can find what is wrong. My dart settings:

Dart Editor version 0.6.19_r26297
Dart SDK version 0.6.19.0_r26297
rikulo_gap 0.5.1+4

@henrichen
Copy link
Member

This is an issue on dart2js. Might have to wait for Dart team's update.

see https://code.google.com/p/dart/issues/detail?id=11789

@tomyeh
Copy link
Member

tomyeh commented Sep 4, 2014

Gap 0.6 was just released. It shall solve the issue, but API is changed a lot. Please refer to Gap 0.6.0 API. Please reopen it if the problem remains.

@tomyeh tomyeh closed this as completed Sep 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants