Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow attributes on local function parameters #35350

Closed
jcouv opened this issue Apr 29, 2019 · 1 comment
Closed

Allow attributes on local function parameters #35350

jcouv opened this issue Apr 29, 2019 · 1 comment

Comments

@jcouv
Copy link
Member

jcouv commented Apr 29, 2019

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

@RikkiGibson
Copy link
Contributor

Closing for simplicity, the scenarios described in this issue are present in #38801

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants