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

dart editor is showing 'nodes' property as <dynamic> instead of NodeList #1157

Closed
DartBot opened this issue Jan 12, 2012 · 4 comments
Closed
Assignees
Labels
P1 A high priority bug; for example, a single project is unusable or has many test failures

Comments

@DartBot
Copy link

DartBot commented Jan 12, 2012

This issue was originally filed by mattsh@google.com


In dart editor, you should get statement completion on the nodes property of document.body, i.e., when you type this:

import("dart:html")

void main() {
  document.body.nodes.

there should be a dropdown with the completion choices for NodeList, because nodes is a property that returns a NodeList.

But, dart editor showing the nodes property to be type <dynamic>, and it doesn't any statement completion choices after the dot. But, the nodes property of Node is in fact declared to return NodeList in Node.dart, so I'm not sure why this is turning into <dynamic> somehow.

@DartBot
Copy link
Author

DartBot commented Jan 26, 2012

This comment was originally written by mattsh@google.com


Bumping up priority. I'm hitting this a lot, and it actually seems to affect many other properties as well.


Set owner to @stevemessick.
Removed Priority-Medium label.
Added Priority-High label.

@stevemessick
Copy link
Contributor

Marked this as being blocked by #1398.

@DartBot
Copy link
Author

DartBot commented Mar 8, 2012

This comment was originally written by zundel@google.com


Issue #380 with the compiler is closed. Verified this is now working in the editor too.

@DartBot
Copy link
Author

DartBot commented Mar 8, 2012

This comment was originally written by zundel@google.com


Added Fixed label.

@DartBot DartBot added Type-Defect P1 A high priority bug; for example, a single project is unusable or has many test failures labels Mar 8, 2012
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 A high priority bug; for example, a single project is unusable or has many test failures
Projects
None yet
Development

No branches or pull requests

2 participants