Skip to content
This repository has been 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

Open
1 task done
mason1920 opened this issue Oct 9, 2020 · 0 comments
Open
1 task done

Comments

@mason1920
Copy link

mason1920 commented Oct 9, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant