google / google/xls

map w/ builtin that has a type parametric doesn't convert

Open
#1,668 2 comments 0 reactions 1 assignee Claimed by @richmckeever View on GitHub
bug dslx 🧦 sox
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

**Describe the bug**

trying to convert a map that uses a parametric builtin fails with the following error:

```
INTERNAL: Invalid builtin name for map: widening_cast
```

**To Reproduce**
```
fn f() -> u8[4] {
map(zero!(), widening_cast)
}
```

Related #1412

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.