atom / language-csharp

C# language support for Atom
Other
62 stars 52 forks source link

Async Keyword Highlighting #105

Closed worldbeater closed 6 years ago

worldbeater commented 6 years ago

In some cases, the async C# keyword is not correctly highlighted on Github and in Atom. This happens when it is used in async lambdas, in async methods everything is fine. This happens only with assignment expressions. So, please, take a look!

Load = Command.CreateFromTask(async () => { }); // Not OK
Command.CreateFromTask(async () => { }); // OK
Load = Command.CreateFromTask(async x => { }); // Also OK (but what happened to => symbol?)