Emit debug info for variables that are used in nested functions

This commit is contained in:
Alexey Prokhin
2011-12-03 23:45:58 +04:00
parent cedb4c0e68
commit b8721a8515
7 changed files with 103 additions and 25 deletions
+1 -1
View File
@@ -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)