Unannotated lambda param inferred through a field/tuple access leaks the internal lambda$N name instead of a clean type error #47
Owner
```
Minimal repro
type TPoint { x: i64, y: i64 }
let g = fn(p) -> Core.add_i64(p.x, p.y) in g(TPoint { x = 5, y = 6 })
→ error: unbound variable 'lambda$1'
Tuple projection triggers it too:
let g = fn(t) -> t.0 in g((7, 8))
→ error: unbound variable 'lambda$1'
```
bug
label
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?