dotnet / dotnet/csharp-tmLanguage

[Textmate] Lambda with attribute

Open
#303 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
78
Forks
43
Avg merge
34m
Merged PRs (30d)
1

Description

## Details

What editor are you seeing the problem in? (e.g. Atom, Visual Studio Code, etc.)
VSCode

What version of the editor are you using?
1.85.1
What color theme are you using?
Dark plus
## Repro

```cs
var concat = ([DisallowNull] string a, [DisallowNull] string b) => a + b;
var inc = [return: NotNullIfNotNull(nameof(s))] (int? s) => s.HasValue ? s++ : null;
Func parse = [ProvidesNullCheck] (s) => (s is not null) ? int.Parse(s) : null;
```
![image](https://github.com/dotnet/csharp-tmLanguage/assets/77432836/90e88bd5-8f87-4c9e-9338-617104044650)

Please provide a code example and (optionally) a screenshot demonstrating the problem.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.