https://issues.dlang.org/show_bug.cgi?id=16098
--- Comment #12 from Walter Bright <bugzi...@digitalmars.com> --- I'm a little curious how SSoulaimane's solutions fixes things like two base pointers are required, one for the parameters and one for the rest. Then there's the problem with nested functions accessing the stack frame of the outer function - wouldn't two base pointers be needed? What about aligning the variables in a dynamic closure? I can't say I understand his solution. My PR fixes the dynamic closure problem. Once that is merged, I have a followup fix ready to go that solves the other problems. No changes to the code generator are required. It's also a lot simpler. --