Skip to content

[Proposal]: Deconstruction in lambda parameters #9848

@jnm2

Description

@jnm2

Deconstruction in lambda parameters

Summary

Lambda parameters may be deconstructed within the parameter list of the lambda expression:

Action<(int, int)> action = ((a, b)) => { };

Action<(int, int)> action = ((int a, int _)) => { };

Action<(int, (int, int))> action = ((a, (b, _))) => { };

Design meetings

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions