-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
User-defined positional patterns
- Specification: Proposal: User-defined positional patterns #8612
- Discussion: Proposal: User-defined positional patterns #8612
Summary
Defining a named positional pattern which is not bound to a type check.
Exploring a different approach than the one originally presented in #1047 which suggests to relax Deconstruct to return bool.
This proposal does not conflict with bool-returning Deconstruct methods, i.e. both can exist at the same time, but this enables much more flexibility in this space as these patterns have a name of their own rather than just using the type's name.
Design meetings
Reactions are currently unavailable