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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 25 06:39:30 PDT 2009


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|302                         |


--- Comment #6 from Don <clugdbug at yahoo.com.au> 2009-09-25 06:39:29 PDT ---
(In reply to comment #5)
> But literals do not simply exist, they must be used somehow. And contracts
> should work somehow. It was questioned in bug 302, whether contracts should be
> called by caller or callee. So this bug can be blocked by 302.

No. That would be a general change to how contracts are done, and is nothing to
do with this bug. Contracts work perfectly fine on function literals. It's just
this case where return type inference is involved where we get a failure in out
contacts.

-- 
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