mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00

* [.di generation] Show TypeCtor method attributes after parameters Follow up to https://github.com/dlang/dmd/pull/16708. * Add changelog
13 lines
333 B
Text
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
|
|
}
|
|
---
|