dmd/changelog/dmd.postfix-this-attributes.dd
Nick Treleaven 3c13c3c548
[.di generation] Show TypeCtor method attributes after parameters (#16732)
* [.di generation] Show TypeCtor method attributes after parameters

Follow up to https://github.com/dlang/dmd/pull/16708.

* Add changelog
2024-07-20 16:01:45 +02:00

13 lines
333 B
Text

Postfix type qualifier method attributes for `-H` and `-D`
`.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
}
---