Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
loader args: provide consistent behavior across Lua versions
This implements a compromise solution that allows Teal modules to always get both arguments, even in Lua 5.1 based systems (this should be harmless for modules which don't expect a second argument there), without hardcoding `loader_data`, just in case the user is on an environment that runs a patched `require` for debug reasons or something.
- Loading branch information