Skip to content
Snippets Groups Projects
Commit 726e818b authored by Nikita Pettik's avatar Nikita Pettik Committed by Vladimir Davydov
Browse files

prbuf: fix "wrong argument type" error

ffi.typeof() returns cdata, which in turn can't be concatenated with string
without explicit call of `tostring`. Moreover, passing data of native Lua
type would also generate wrong error. So let's simply raise general error
without mentioning passed type.

NO_DOC=<Internal fix>
NO_CHANGELOG=<Internal fix>

(cherry picked from commit f715e36a)
parent 52dbf751
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment