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

Report error for [UnscopedRef] scoped parameter #63057

Closed
cston opened this issue Jul 29, 2022 · 0 comments · Fixed by #63134
Closed

Report error for [UnscopedRef] scoped parameter #63057

cston opened this issue Jul 29, 2022 · 0 comments · Fixed by #63134
Assignees
Labels
4 - In Review A fix for the issue is submitted for review. Area-Compilers Bug Feature - Ref Fields
Milestone

Comments

@cston
Copy link
Member

cston commented Jul 29, 2022

Report an error when [UnscopedRef] is applied to a parameter that is explicitly declared scoped.

From the spec:

  • It is an error to use [UnscopedRef] on
    • ...
    • A parameter marked scoped
    • ...

Relates to test plan #59194

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Jul 29, 2022
@jcouv jcouv self-assigned this Aug 2, 2022
@jcouv jcouv removed the untriaged Issues and PRs which have not yet been triaged by a lead label Aug 2, 2022
@jcouv jcouv added this to the 17.4 milestone Aug 2, 2022
@jcouv jcouv added 4 - In Review A fix for the issue is submitted for review. Bug labels Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 - In Review A fix for the issue is submitted for review. Area-Compilers Bug Feature - Ref Fields
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants