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

Tracking issue to ensure collection spread expression are target typed properly. #69625

Closed
CyrusNajmabadi opened this issue Aug 19, 2023 · 1 comment

Comments

@CyrusNajmabadi
Copy link
Member

CyrusNajmabadi commented Aug 19, 2023

Currently they are target typed by teh element type of the expression. This is def not correct. To ensure things work properly, they should likely be target typed to something like ReadOnlySpan<ElementType> allowing the expressions there to both properly type, as well as have local scope for stack-allocing.

Relates to test plan #66418

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Aug 19, 2023
@arunchndr arunchndr removed the untriaged Issues and PRs which have not yet been triaged by a lead label Aug 22, 2023
@cston
Copy link
Member

cston commented Aug 31, 2023

Duplicate of #69277.

@cston cston closed this as completed Aug 31, 2023
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