confusing (buggy?) closure behaviour

BCS ao at pathlink.com
Fri Dec 12 14:25:16 PST 2008


Reply to Zoran,

> Thx, Denis, but I'm still confused. The stack thing was also my first
> thought. But when I tried to actually explain the dynamics that way, I
> came to the conclusion that then, test1() shouldn't have worked
> either.
> 


what might be happening is that test1 is not using up enough stack space 
to overwrite the arguments.




More information about the Digitalmars-d-learn mailing list