[Issue 3325] ICE(func.c) function literal with post-contract

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 20 12:37:59 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3325


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2009-09-20 12:37:58 PDT ---
This ICE is because it needs to know the return type, before it can create the
result variable for the post-condition. Creation of the result variable should
probably happen in ReturnStatement::semantic, and the semantic for the
post-condition run _after_ the function semantic, instead of before.

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


More information about the Digitalmars-d-bugs mailing list