DSLX: Bad error on `send` on channel array (instead of a channel)
Open
dslx
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 283
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 135
Description
I accidentally did:
```
my_chans: chan[4];
...
let tok = send(tok, my_chans, foo);
```
Obv. wrong: you send on individual channels, not channel arrays (tho that's an interesting idea). Instead of a nice error message, I got a XLS_RET_CHECK failure: `Check failed: ::absl::OkStatus() == (status) (OK vs. INTERNAL: XLS_RET_CHECK failure (xls/dslx/deduce.cc:2192) channel_type != nullptr ((nil) vs. nullptr)`.
Fix plz
Contributor guide
Assessment
This issue has not been assessed yet.