mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 08:33:14 +01:00
Updated to dmdfe 2.051
This commit is contained in:
@@ -915,10 +915,8 @@ DValue* DtoArgument(Parameter* fnarg, Expression* argexp)
|
||||
// ref/out arg
|
||||
if (fnarg && (fnarg->storageClass & (STCref | STCout)))
|
||||
{
|
||||
if (arg->isVar())
|
||||
arg = new DImValue(argexp->type, arg->getLVal());
|
||||
else
|
||||
arg = new DImValue(argexp->type, arg->getRVal());
|
||||
Loc loc;
|
||||
arg = new DImValue(argexp->type, makeLValue(loc, arg));
|
||||
}
|
||||
// lazy arg
|
||||
else if (fnarg && (fnarg->storageClass & STClazy))
|
||||
|
||||
Reference in New Issue
Block a user