mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-15 20:33:14 +01:00
Fix nested functions.
My last patch was a little over-zealous in passing `undef`, it always passed `undef` to inner functions expecting a single context frame.
This commit is contained in:
@@ -112,7 +112,7 @@ IrFunction::IrFunction(FuncDeclaration* fd)
|
||||
|
||||
nestedVar = NULL;
|
||||
frameType = NULL;
|
||||
depth = 0;
|
||||
depth = -1;
|
||||
|
||||
_arguments = NULL;
|
||||
_argptr = NULL;
|
||||
|
||||
Reference in New Issue
Block a user