euclidianAce / ltreesitter

Standalone tree sitter bindings for the Lua language
MIT License
85 stars 4 forks source link

Fix failing tests for basically every non 5.3 version #4

Closed euclidianAce closed 3 years ago

euclidianAce commented 3 years ago

Now that github actions are set up, there are a decent amount of failures in the "not-lua-5.3 department"

euclidianAce commented 3 years ago

This is mostly cause I run 5.3 locally, I'll probably just spin up some docker containers or nix stuff or whatever to do local testing

euclidianAce commented 3 years ago

Luckily this was caused by 5.2 and 5.1 not setting the __name field when calling luaL_newmetatable and our tests use the __name field to do a simple typechecking for every function.

Fixed by 851898bb933a0234aab4b03475ac3ea9415dd143