Skip to content

Colorization breaks after ternary with parens #521

@mjbvz

Description

@mjbvz

TS and JS Grammar Extension version: 0.0.22 / latest

Code

const names = results.f(result.success ? (2) : 2).f(c => c.name)
const a = 1;

screen shot 2017-09-14 at 4 23 38 pm

It seems the colorization breaks after the (2) expression

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