Fix wrong name of __newindex metamethod

This commit is contained in:
kyren 2017-07-26 10:28:00 -04:00
parent eae4c90ead
commit bf6ef3ecad
1 changed files with 1 additions and 1 deletions

View File

@ -1809,7 +1809,7 @@ impl Lua {
MetaMethod::Lt => "__lt", MetaMethod::Lt => "__lt",
MetaMethod::Le => "__le", MetaMethod::Le => "__le",
MetaMethod::Index => "__index", MetaMethod::Index => "__index",
MetaMethod::NewIndex => "__newIndex", MetaMethod::NewIndex => "__newindex",
MetaMethod::Call => "__call", MetaMethod::Call => "__call",
MetaMethod::ToString => "__tostring", MetaMethod::ToString => "__tostring",
}; };