[Issue 2716] Confusion of auto and scope as the class attribute

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 28 01:09:23 PDT 2010


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


Haruki Shigemori <rayerd.wiz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


--- Comment #17 from Haruki Shigemori <rayerd.wiz at gmail.com> 2010-08-28 01:09:13 PDT ---
Thank you for your great job!
However, this invalid code is accepted yet.

auto class A{} // <-- not "scope"
void main()
{
    scope a = new A();
}

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