Skip to content

"." in key causes error #68

@MikeSenko

Description

@MikeSenko

Although sloppy, the following is valid in Lua:
local junk = {} -- Create table
key = "dot.dot" -- Create the key
junk[key] = 1 -- assign value

Attempting the same thing from the C# side of NLua seems to cause an error:

LuaTable junk = (LuaTable) lua.DoString("return {}")[0]; // Create the table
string key = "dot.dot"; // Create the key
junk[key] = 1; // This causes a Lua error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions