Skip to content

add support for lua 5.2, 5.3 and above #46

@paulo-erichsen

Description

@paulo-erichsen

orbit works in lua 5.1.5, but is broken in 5.2 and above (such as 5.2.4 and 5.3.5)

when I try to use orbit in 5.2, an exception is thrown

lua: /usr/share/lua/5.3/orbit.lua:9: attempt to call a nil value (local 'setfenv')
stack traceback:
	/usr/share/lua/5.3/orbit.lua:9: in main chunk
	[C]: in function 'require'
...

the line of code in question is

9: setfenv(1, _G)

related info:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions