interrogate: rename operator [] = to operator []=

This commit is contained in:
rdb 2022-10-24 01:04:46 +02:00
parent a28b641bf3
commit 7f707de384
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ RenameSet methodRenameDictionary[] = {
{ "operator =" , "assign", 0 },
{ "operator ()" , "__call__", 0 },
{ "operator []" , "__getitem__", 0 },
{ "operator [] =" , "__setitem__", 0 },
{ "operator []=" , "__setitem__", 0 },
{ "operator ++unary", "increment", 0 },
{ "operator ++" , "increment", 0 },
{ "operator --unary", "decrement", 0 },

View File

@ -3054,7 +3054,7 @@ define_method(CPPInstance *function, InterrogateType &itype,
CPPFunctionType *ftype = new CPPFunctionType(void_type, params, 0);
// Now make up an instance for the function.
CPPInstance *function = new CPPInstance(ftype, "operator [] =");
CPPInstance *function = new CPPInstance(ftype, "operator []=");
function->_ident->_native_scope = scope;
FunctionIndex index = get_function(function, "",