robertkrimen / otto

A JavaScript interpreter in Go (golang)
http://godoc.org/github.com/robertkrimen/otto
MIT License
8.04k stars 584 forks source link

fix: number to int conversions #474

Closed stevenh closed 1 year ago

stevenh commented 1 year ago

Fix toInt32, toUint32 conversions which caused test failures on arm64.

Fixes #457

andig commented 1 year ago
got -v ./... -run Test_issue457
# github.com/robertkrimen/otto
./builtin_string.go:39:20: undefined: toUint16
FAIL    github.com/robertkrimen/otto [build failed]
stevenh commented 1 year ago

Ooops