Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Trying to call a null function in Lua gives a bad error message #128

Copy link
Copy link
@nwinter

Description

@nwinter
Issue body actions

After @basicer's recent change to save the Lua parser from generating code from bad player code that crashes escodegen, at least it doesn't hang, but we give a bad error message for trying to call a nil function like this:

a = function() end
a():b()

or

a = {}
a:b:c()

result in error messages where it tells you the name of the nil thing is __luaTemp$1234.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.