[Issue 3091] "auto x = new shared foo" does not compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 28 10:02:46 PDT 2009


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


Sobirari Muhomori <dfj1esp02 at sneakemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor


--- Comment #1 from Sobirari Muhomori <dfj1esp02 at sneakemail.com> 2009-10-28 10:02:46 PDT ---
Seems like an RFE. Try to compile this:
---
class A{}

int main()
{
    const a = new const A();
    const a = new immutable A();
    return 0;
}
---

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