Open mason1920 opened 4 years ago
Syntax highlighting gets confused when lambdas are made without a parameter list and assigned to a variable.
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.
Atom : 1.43.0 Electron: 4.2.7 Chrome : 69.0.3497.128 Node : 10.11.0
Debian 10
Prerequisites
Description
Syntax highlighting gets confused when lambdas are made without a parameter list and assigned to a variable.
Steps to Reproduce
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