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

[Lua] Unexpected compile result #998

Open
deflinhec opened this issue Mar 17, 2023 · 1 comment
Open

[Lua] Unexpected compile result #998

deflinhec opened this issue Mar 17, 2023 · 1 comment

Comments

@deflinhec
Copy link
Contributor

deflinhec commented Mar 17, 2023

Weird complier behavior when executing lua code inside rpc scope.

print(("%s"):format(value))

Is this intentional?

server-nakama-node1-1  | {"level":"warn","ts":"2023-03-17T16:07:48.029Z","caller":"server/runtime_lua_nakama.go:2207","msg":"data/modules/api/watch.lua:28: attempt to index a non-table object(string) with key 'len'","runtime":"lua","rpc_id":"internal/consul/watch"}
@deflinhec deflinhec changed the title [Lua] [Lua] Unexpected compile result Mar 17, 2023
@deflinhec
Copy link
Contributor Author

deflinhec commented Apr 10, 2023

#1012

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