Skip to content

Dart Editor thinks Element.classes returns Dynamic, unable to code complete #1531

New issue

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

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

Already on GitHub? # to your account

Closed
sethladd opened this issue Feb 4, 2012 · 4 comments
Closed
Assignees

Comments

@sethladd
Copy link
Contributor

sethladd commented Feb 4, 2012

A line like:

import('dart:html');

...
document.query('#status').classes.<now try code complete>
...

does not display .add(), .remove(), etc. The editor believes .classes returns Dynamic, but the docs say that .classes returns Set

@danrubel
Copy link

danrubel commented Feb 6, 2012

Set owner to @stevemessick.

@stevemessick
Copy link
Contributor

This particular problem will be fixed when CL #­9315061 lands. The more general problem is described in issue #8.


Added Started label.
Marked this as being blocked by #380.

@DartBot
Copy link

DartBot commented Mar 8, 2012

This comment was originally written by zundel@google.com


Issue #380 on the compiler has been fixed. Verified that this completion now works in the editor as of build 5182.

@DartBot
Copy link

DartBot commented Mar 8, 2012

This comment was originally written by zundel@google.com


Added Fixed label.

This issue was closed.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants