forked from dlang/dmd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[.di generation] Show TypeCtor method attributes after parameters (dl…
…ang#16732) * [.di generation] Show TypeCtor method attributes after parameters Follow up to dlang#16708. * Add changelog
- Loading branch information
1 parent
d6059e1
commit 7f07be7
Showing
5 changed files
with
29 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
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 | ||
} | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters