Skip to content

[Textmate] Lambda with attribute #303

@sharpchen

Description

@sharpchen

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

var concat = ([DisallowNull] string a, [DisallowNull] string b) => a + b;
var inc = [return: NotNullIfNotNull(nameof(s))] (int? s) => s.HasValue ? s++ : null;
Func<string?, int?> parse = [ProvidesNullCheck] (s) => (s is not null) ? int.Parse(s) : null;

image

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

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