Skip to content

Allow attributes on local function parameters #35350

@jcouv

Description

@jcouv

From discussion in LDM today (4/29/2019), this would help with async-iterator local functions that want to use [EnumeratorCancellation].

We should also test other attributes:

  • [DoesNotReturn]
  • [DoesNotReturnIf(bool)]
  • [Disallow/Allow/Maybe/NotNull]
  • [Maybe/NotNullWhen(bool)]
  • [Obsolete]
  • ...

FYI @agocke

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions