microsoft / microsoft/typespec
Spread array values into a new array value
Open
compiler:core
feature
triaged:core
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
```tsp
const a = #[1, 3];
const b = #[2, ...a, 4];
```
This doesn't work but we do support spreading object values
Contributor guide
Assessment
This issue has not been assessed yet.