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

Support deprecated new 'TypArg[n] syntax for array initialization #15

Open
k4rtik opened this issue Nov 16, 2022 · 0 comments
Open

Support deprecated new 'TypArg[n] syntax for array initialization #15

k4rtik opened this issue Nov 16, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@k4rtik
Copy link
Member

k4rtik commented Nov 16, 2022

As part of QEP 2: Enhanced Array Literals, most of the Q# library code has switched to the new syntax for array initialization that our parse supports, but there are rare examples like

return new 'TElement[0];

where the old syntax still appears. We may want to support it.

@k4rtik k4rtik added the bug Something isn't working label Nov 16, 2022
@k4rtik k4rtik self-assigned this Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant