Rather than relying on _VERSION == "Lua 5.3", this just tries loading the Lua 5.3+ wrapper table no matter what. Assuming future versions of Lua keep bitwise ops, this should work on future versions of Lua.
Plus it should be compatible with forks/renames/etc.
Coverage increased (+0.009%) to 87.79% when pulling 702a1260e24966b0ae07668e33359914a5405c4e on jprjr:future-lua into 47225d081318e65d5d832e2dd99ff0880d56b5c6 on daurnimator:master.
This is an alternative to #174
Rather than relying on
_VERSION == "Lua 5.3"
, this just tries loading the Lua 5.3+ wrapper table no matter what. Assuming future versions of Lua keep bitwise ops, this should work on future versions of Lua.Plus it should be compatible with forks/renames/etc.