Skip to content

Assertion failure for document highlights on decorator preceding non-class expression #65781

In progress

Description

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

// @Filename: /main.ts
////declare function /*1*/dec(x: any): any;
////const x = @/*2*/dec 1;

Verify doc highlight baselines on 1/2.

panic handling request textDocument/documentHighlight: did not expect KindVariableDeclaration to have KindIdentifier in its trivia

Metadata

Metadata

Labels

Bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions