Commit 6fe7509
committed
fix(resolve): seed
`trunc` is a genuine runtime builtin (interp.ml:674, kernel_sublang
builtin set) but was absent from the resolver's builtin-seed list while
its siblings floor/ceil/round are present, so math.affine failed
resolution with UndefinedVariable "trunc". Add `def "trunc"`.
Verified on origin/main @651cc12: math.affine now passes the resolve
stage (its remaining Int/Float TypeMismatch is a separate pre-existing
math.affine typecheck issue, out of scope). Full stdlib sweep 11/8 →
11/8, zero regression.
Refs #128trunc builtin in resolver context (#135)1 parent 651cc12 commit 6fe7509
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
0 commit comments