Skip to content

Weird '<i>' proposal for object key completion #894

@mrennie

Description

@mrennie

Consider the following snippet:

var markdowns = {
  // assist here
};

var s = "abc";
return markdowns[s];

If you invoke content assist where the comment indicates, you get a single proposal named <i>. I would expect to get no proposals, or even better, "abc".

This can be reproduced in the Tern demo page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions