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: nob...@puremagic.com ReportedBy: s...@invisibleduck.org --- Comment #0 from Sean Kelly <s...@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: -------