--- Comment #7 from Brad Roberts <> 2010-07-11 14:39:39 PDT 
Created an attachment (id=690)
add support for inlining function literals

This patch adds support for inlining function literals.  This won't cover many
cases as most hide behind a variable, but it's a building block in the right

The test case for this patch.. very contrived:

extern(C) int printf(const char*, ...);

void main()
    int i = 99;
    if ((delegate(ref int j) { return j == 99; })(i))
        printf("i = %d\n", i);

same result if the keyword 'delegate' is omitted.

It passes an abbreviated (only used ARGS="-O -inline -release") run of the test

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to