Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RUNTIME ERROR: Unknown LOADK index #420

Open
lbuczkow opened this issue Jan 11, 2024 · 0 comments
Open

RUNTIME ERROR: Unknown LOADK index #420

lbuczkow opened this issue Jan 11, 2024 · 0 comments

Comments

@lbuczkow
Copy link

Just tried gravity again after a few years and found a very similar issue (see #246):

The following code fails:

var arr = [ ["a": [0.00000465, -0.000000004] ], ["b": [0.000006408, -0.00000000005] ] ]
func main() { }

when executed as bytecode:

~/gravity % gravity -c stat.gravity -o stat.json && gravity -x stat.json
RUNTIME ERROR: Unknown LOADK index
~/gravity % gravity --version
Gravity version 0.8.5 (Jan 11 2024)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant