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

Suppression operator on L-values #27522

Closed
jcouv opened this issue Jun 6, 2018 · 0 comments
Closed

Suppression operator on L-values #27522

jcouv opened this issue Jun 6, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@jcouv
Copy link
Member

jcouv commented Jun 6, 2018

  • M(out x!); (note this also definitely assigns to x through the !)
  • M(out (x!));
  • M(out (RefReturning()!));
  • x! = y;
  • M(out string x!);

Current implementation is to allow in out scenarios, but disallow in assignment scenarios.

@jcouv jcouv added this to the 16.0 milestone Jun 6, 2018
@jcouv jcouv modified the milestones: 16.0, 16.0.P2 Nov 9, 2018
@gafter gafter modified the milestones: 16.0.P2, 16.0.P3 Jan 8, 2019
@jcouv jcouv added 4 - In Review A fix for the issue is submitted for review. 3 - Working and removed 4 - In Review A fix for the issue is submitted for review. labels Mar 3, 2019
@jcouv jcouv added 4 - In Review A fix for the issue is submitted for review. and removed 3 - Working labels Mar 5, 2019
agocke added a commit to agocke/roslyn that referenced this issue Mar 5, 2019
Verifies that the current implementation matches the latest
LDM decisions on nullable suppression and out variables

Closes dotnet#27522
agocke added a commit that referenced this issue Mar 5, 2019
Verifies that the current implementation matches the latest
LDM decisions on nullable suppression and out variables

Closes #27522
@jcouv jcouv modified the milestones: 16.0.P3, 16.1.P1 Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants