dmd/changelog/dmd.postfix-this-attributes.dd
2025-02-14 08:23:16 +08:00

13 lines
337 B
Text

Postfix type qualifier method attributes for `-H` and `-D`
The `.di` interface file generation and Ddoc output will now have type qualifier
attributes placed after the parameter list for methods (and constructors).
This avoids confusion with the return type.
---
struct S
{
const int f(); // before
int f() const; // now
}
---