Skip to content

Uncaught syntax error when a required 'end' is missing #114

@CodeSmile-0000011110110111

Description

Despite the syntax error due to a missing 'end' token, this script does not throw a ParseException:

local script = {...}

function script.something()
    for i = 1, 10 do
        print(i)
    --end  -- <<== 'forgot' the end here
end

return script

This will silently return an empty LuaValue[] to C#.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions