Skip to content

Strange parser behavior: No completions before property whose value is `` #28107

@ghost

Description

TypeScript Version: 3.2.0-dev.20181023

Code

/// <reference path='fourslash.ts' />

////f({
////    a/**/
////    xyz: ``,
////});
////declare function f(options: { abc?: number, xyz?: string }): void;

verify.completions({
    marker: "",
    exact: ["abc"],
});

Expected behavior:

Test passes.

Actual behavior:

No completions.
The test passes if I change `` to "".

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: LS: Completion ListsThe issue relates to showing completion lists in an editorFixedA PR has been merged for this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions