Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Syntax Highlighting Breaks When Assigning Lambdas That Don't Take Params #355

@mdkdir

Description

@mdkdir

Prerequisites

Description

Syntax highlighting gets confused when lambdas are made without a parameter list and assigned to a variable.

Steps to Reproduce

  1. Create a new C++ file
  2. Key a lambda without a parameter list and assign it to something (e.g. auto x = [] { return 0; };)

Expected behavior:

Correct coloring. Such as in the above example, return should be pink, not grey.

Actual behavior:

Incorrect coloring. Mostly grey language keywords.

Reproduces how often:

Always.

Versions

Atom : 1.43.0
Electron: 4.2.7
Chrome : 69.0.3497.128
Node : 10.11.0

Debian 10

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