mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-05-05 01:41:30 +02:00
Apply patch from klickverbot. This is his 'proper fix' patch for bug #395.
This commit is contained in:
@@ -2234,7 +2234,7 @@ DValue* CatAssignExp::toElem(IRState* p)
|
||||
Type* e2type = e2->type->toBasetype();
|
||||
|
||||
if (e2type == elemtype) {
|
||||
DtoCatAssignElement(e1type, l, e2);
|
||||
DtoCatAssignElement(loc, e1type, l, e2);
|
||||
}
|
||||
else if (e1type == e2type) {
|
||||
DSliceValue* slice = DtoCatAssignArray(l,e2);
|
||||
|
||||
Reference in New Issue
Block a user