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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugd...@yahoo.com.au


--- Comment #1 from Don <clugd...@yahoo.com.au> 2011-03-01 05:08:35 PST ---
Reduced test case shows it is a constant folding problem.
['a', 'b'] ~ "c" doesn't get constant folded.

string foo5671() {
    return ['a', 'b'];
}

string bug5671() {
    return foo5671() ~ "c";
}

static assert(bug5671() == "abc");

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

Reply via email to