March 20, 2009 [Issue 2751] New: incorrect scope storage class vardeclaration tocbuffer | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2751 Summary: incorrect scope storage class vardeclaration tocbuffer Product: D Version: 1.041 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: davidl@126.com since : class C{} void func() { scope a= new C(); } accepted by DMD, thus the toCBuffer of vardeclaration requires to print this scope out for header gen cases. declaration.c ,VarDeclaration::toCBuffer: if (storage_class & STCauto) buf->writestring("auto "); +++ if (storage_class & STCscope) +++ buf->writestring("scope "); -- |
April 01, 2009 [Issue 2751] incorrect scope storage class vardeclaration tocbuffer | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2751 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla@digitalmars.com 2009-04-01 13:50 ------- Fixed DMD 1.042 and 2.027 -- |
Copyright © 1999-2021 by the D Language Foundation