Closed xhyp0 closed 8 years ago
I can reproduce this on Flow v0.21.0 (haven't tried other versions).
This is almost certainly an issue with Flow itself. We get the autocomplete results directly from Flow. I get that the Flow typechecker correctly understands extends
but the autocomplete that it provides is more rudimentary. Could you re-open this issue on the Flow repository?
Issue and Steps to Reproduce
When extending a class, flow doesn't seem to provide an auto-complete. This repros on the following code:
When I create a new instance of
C
, the autocomplete works fine:But when I create a new instance of
D
, it doesn't seem to work at all:Even though there's no auto-complete, it looks like flow is still properly checking the code because if you try to access something that isn't in the class it will produce an error.
Expected Behavior
The auto-complete should list include the members of both classes.
Actual Behavior
None of the expected auto-complete entries show up.
Versions
Additional Details
apm ls --installed
):OS X
Ubuntu