mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-10-17 00:07:25 +02:00
Emit debug info for variables that are used in nested functions
This commit is contained in:
+1
-1
@@ -2553,7 +2553,7 @@ DValue* FuncExp::toElem(IRState* p)
|
||||
)
|
||||
cval = irfn->nestedVar;
|
||||
else if (irfn->nestArg)
|
||||
cval = irfn->nestArg;
|
||||
cval = DtoLoad(irfn->nestArg);
|
||||
#if DMDV2
|
||||
// TODO: should we enable that for D1 as well?
|
||||
else if (irfn->thisArg)
|
||||
|
||||
Reference in New Issue
Block a user