Skip to content

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

Open
@k4rtik

Description

@k4rtik

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions