google / google/xls

Make Match Arm Patterns support Array Type

Open
#810 0 comments 0 reactions 1 assignee Claimed by @cdleary View on GitHub
dslx enhancement
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

Match Arm Patterns do not support array types.

For example, the following does not compile:
```
let x = match x11 {
u32[2]:[0, 1] => y,
_=> y+u32:77
};
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.