[Issue 4259] New: Header generation omits leading '@' for properties
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jun 1 12:22:56 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4259
Summary: Header generation omits leading '@' for properties
Product: D
Version: 2.040
Platform: x86
OS/Version: Mac OS X
Status: NEW
Severity: blocker
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: sean at invisibleduck.org
--- Comment #0 from Sean Kelly <sean at invisibleduck.org> 2010-06-01 12:22:55 PDT ---
The test file:
class C { @property int get() { return 0; } }
void main() {}
Generates the header:
// D import file generated from 'hdrgen.d'
class C
{
property
{
int get()
{
return 0;
}
}
}
void main()
{
}
With the '@' missing the header is invalid. This is currently blocking the use
of these attributes in druntime. I've attached a patch that fixes the issue,
but there's likely a better way to do it.
--
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