[Issue 9577] Crash on static array of function literals

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 22 20:48:00 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=9577


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies at gmail.com


--- Comment #2 from yebblies <yebblies at gmail.com> 2013-11-23 15:47:57 EST ---
Global variables suck!

FuncDeclaration::toIR sets cstate.CSpsymtab when doing codegen for main, but
then it sets it again when doing the lambda!  At the end of the lambda,
cstate.CSpsymtab is NULLed, leading to the crash.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list