mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-09-30 09:10:19 +02:00
DMD Issue 4523 - [tdpl] .remove method for Associative Arrays returns void in all cases
This commit is contained in:
+1
-3
@@ -2988,9 +2988,7 @@ DValue* RemoveExp::toElem(IRState* p)
|
||||
DValue* aa = e1->toElem(p);
|
||||
DValue* key = e2->toElem(p);
|
||||
|
||||
DtoAARemove(loc, aa, key);
|
||||
|
||||
return NULL; // does not produce anything useful
|
||||
return DtoAARemove(loc, aa, key);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user