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.
http://www.dsource.org/projects/dmd/changeset/513