-
-
Notifications
You must be signed in to change notification settings - Fork 610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Refactoring] around protection code fixed in the PR #3651 #3906
Conversation
8673c51 to
1b9dc9f
Compare
|
Is there any reason why formatting used by https://github.com/D-Programming-Language/dmd/blob/master/src/attrib.c#L617 is not suitable? |
|
Though now that I think about it |
Unused parameter name might be warned when dmd code is compiled by non-dmc compiler with extra warning options. |
Make sense.
For backward compatibility, keeping |
Sounds good. |
|
I filed the issue in bugzilla: https://issues.dlang.org/show_bug.cgi?id=13384 |
1b9dc9f to
c0f0d0b
Compare
|
I resolved conflicts. Ready to merge. |
|
LGTM but no dmd merge access :) |
|
@Dicebot Thanks for your LGTM. |
|
Auto-merge toggled on |
[Refactoring] around protection code fixed in the PR #3651
Tweak code style, slim up code logic, and a trivial bug fix.
@Dicebot I found two questions while refactoring.
__traite(getProtection)should print the new protectionpackage(names)?protectionprintpackage(names)?