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 -1
View File
@@ -1809,7 +1809,7 @@ impl Lua {
MetaMethod::Lt => "__lt",
MetaMethod::Le => "__le",
MetaMethod::Index => "__index",
MetaMethod::NewIndex => "__newIndex",
MetaMethod::NewIndex => "__newindex",
MetaMethod::Call => "__call",
MetaMethod::ToString => "__tostring",
};