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 repl doesn't autocomplete static methods #17033

Closed
trinarytree opened this issue Feb 21, 2014 · 2 comments
Closed

dart repl doesn't autocomplete static methods #17033

trinarytree opened this issue Feb 21, 2014 · 2 comments
Assignees
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@trinarytree
Copy link

to reproduce:
in the dart repl, type DateTime. so the autocomplete pops up.
you will see suggestions hashCode, noSuchMethod, runtimeType, toString.
but where is parse?
that's a static method on DateTime but the autocomplete doesn't show it.

i expect static methods to be autocompleted just as non-static methods are.
(this is similar to bug 15666, but not exactly the same.
that bug complains about what happens at a breakpoint inside a method.
there, static methods are autocompleted if you use the class name as a prefix,
but not without the prefix, even though they should be.
in this bug, they are not autocompleted even with the class prefix.)

chrome://version
Chromium 33.0.1750.48 (Developer Build 251129)
OS Linux
Blink 537.36 (@­167096)
JavaScript V8 3.23.18
Dart 1.2.0-dev.5.9
Flash (Disabled)
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.48 (Dart) Safari/537.36
Command Line /usr/local/google/home/ccalabro/dart/chromium/chrome --remote-debugging-port=53815 --user-data-dir=/usr/local/google/home/ccalabro/.dartium --enable-experimental-web-platform-features --enable-html-imports --no-first-run --no-default-browser-check --no-process-singleton-dialog --flag-switches-begin --flag-switches-end chrome://version/
Executable Path /usr/local/google/home/ccalabro/dart/chromium/chrome
Profile Path /usr/local/google/home/ccalabro/.dartium/Default
Variations 24dca50e-c4e4c5f
ca65a9fe-91ac3782
5e29d81-cf4f6ead
246fb659-7158671e
f296190c-f5f3fe99
4442aae2-6e3b1976
ed1d377-e1cc0f14
75f0f0a0-a5822863
e2b18481-6754d7b7
e7e71889-e1cc0f14

OS and machine details:
Linux chriscalabro.mtv.corp.google.com 3.2.5-gg1336 #­1 SMP Thu Aug 29 02:37:18 PDT 2013 x86_64 x86_64 x86_64 GNU/Linux

@srawlins
Copy link
Member

Sounds like a duplicate of Issue #14890 (substitute DateTime for Future).

@vsmenon
Copy link
Member

vsmenon commented Aug 26, 2014

Set owner to @jacob314.

@kevmoo kevmoo added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) and removed priority-unassigned labels Feb 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

6 participants