Error when using collection-expression for an array-typed attribute argument. #69133
Labels
4 - In Review
A fix for the issue is submitted for review.
Area-Compilers
Bug
New Feature - Collection Expressions
Milestone
Error: An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type
This is expected to work, just like with a normal argument. An attribute argument should support target-typing. After all, you can pass
null
to the argument, and that is totally fine.Relates to test plan #66418
The text was updated successfully, but these errors were encountered: