Found while building an error-fidelity test battery for the perf work (#403).
return #nil and return #true both evaluate to 0. PUC-Lua 5.3 raises:
lua: attempt to get length of a nil value
lua: attempt to get length of a boolean value
Present on main independent of the peephole pass (reproduces with peephole: false and on commits before #403). Likely a missing type check in the length-operator implementation shared by both engines.
Found while building an error-fidelity test battery for the perf work (#403).
return #nilandreturn #trueboth evaluate to0. PUC-Lua 5.3 raises:Present on main independent of the peephole pass (reproduces with
peephole: falseand on commits before #403). Likely a missing type check in the length-operator implementation shared by both engines.