Skip to content

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

Closed
@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: Completion ListsThe issue relates to showing completion lists in an editorFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions