Skip to content

Salsa: "Implicit globals" leak into member completions but not global completions? #6654

Closed
@egamma

Description

@egamma

From @alexandrudima on January 27, 2016 13:34

Testing #2218

IMHO member completions should get less suggestions than the global completions, not the other way around:

function f() {
    // helloWorld leaks from here into the global space?
    if (helloWorld) {
        return 3;
    }
    return 5;
}

// helloWorld is proposed here
// Number(3).

// helloWorld is not proposed here
// hello

salsa-member-completion

Copied from original issue: microsoft/vscode#2447

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions