Skip to content

Highlighting breaks on function type with generics #687

Closed
@rbuckton

Description

@rbuckton

Found in:

Version: 1.30.0-insider (user setup)
Commit: 04cbc78e23eeddc368d634ed52402dbc6f28ebc9
Date: 2018-11-23T10:06:54.093Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
OS: Windows_NT x64 10.0.17134

See https://github.com/Microsoft/TypeScript/pull/28645/files#diff-942ae3cd2a8bbd85ed86a60cd7c43307R6928

export interface ObjectAllocator { 
        getNodeConstructor(): new (kind: SyntaxKind, pos?: number, end?: number) => Node; 
        getTokenConstructor(): new <TKind extends SyntaxKind>(kind: TKind, pos?: number, end?: number) => Token<TKind>; 
        // syntax highlighting is completely broken for the rest of the file...
}

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