[Issue 3882] Unused result of pure functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 27 07:33:19 PDT 2011


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



--- Comment #2 from bearophile_hugs at eml.cc 2011-03-27 07:29:53 PDT ---
If the druntime function to allocate a new array is a pure function, then this
enhancement request catches a bug like this too:

{
    new int[10];
}

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