mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 10:53:14 +01:00
same fix appled to dmd2 frontend
This commit is contained in:
@@ -1890,7 +1890,7 @@ Expression *TypeArray::dotExp(Scope *sc, Expression *e, Identifier *ident)
|
||||
arguments->push(e);
|
||||
|
||||
if (!dup)
|
||||
arguments->push(new IntegerExp(0, size, Type::tint32));
|
||||
arguments->push(new IntegerExp(0, size, Type::tsize_t));
|
||||
e = new CallExp(e->loc, ec, arguments);
|
||||
if (ident == Id::idup)
|
||||
{ Type *einv = next->invariantOf();
|
||||
|
||||
Reference in New Issue
Block a user