-
-
Notifications
You must be signed in to change notification settings - Fork 608
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
Deprecate alias this for classes v2 #14812
Deprecate alias this for classes v2 #14812
Conversation
|
Thanks for your pull request and interest in making D better, @RazvanN7! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + dmd#14812" |
|
cc @Geod24 |
|
Wow, the only buildkite failures are phobos! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changelog entry
|
Should this include interfaces too? |
|
I had no idea you could use alias this in interfaces. Yes, definitely, interfaces should be included too. |
57981eb
to
761d540
Compare
|
@thewilsonator added changelog entry |
088e2a9
to
f01fe2e
Compare
|
The GDC tester fails with: when trying to build the compiler. @ibuclaw does gdc not recognize static foreach? Later edit: It seems that gdc-10 does recognize static foreach, maybe the tester uses an older version? |
|
gdc added static foreach i think in version 10. Version 9 and below do not have it. You can make a helper function concat the strings and return them in one go for a use like this to be compatible with more ocmpailers. |
Yeah, I just consulted the changelog: https://gcc.gnu.org/gcc-10/changes.html (ctrl-f "static foreach"). Is anything preventing us from upgrading the tester to gdc10? |
Yes, me. Don't break gdc's bootstrap, else I'll revert. |
bd8d9fa
to
4ed4861
Compare
|
Spec PR: dlang/dlang.org#3498 |
4ed4861
to
5d985e2
Compare
5d985e2
to
838277b
Compare
|
There's more deprecated messages when running the testsuite: These excess warnings breaks the testsuite. |
This reverts commit af7817b.
This reverts commit af7817b.
This reverts commit af7817b.
* druntime: Restrict some `pragma(inline, false)` kludges to DMD only They appear related to DMD's inlining at the AST level; LDC at least doesn't need them, so let the optimizer decide for non-DMD backends. * Fix little C++ header regression * Expose VarArg.KRvariadic to C++ headers * Revert "Deprecate alias this for classes v2 (#14812)" (#15326) This reverts commit af7817b. * Add changelog for catch qualifier deprecation & update release no --------- Co-authored-by: Martin Kinkelin <noone@nowhere.com> Co-authored-by: Walter Bright <WalterBright@users.noreply.github.com> Co-authored-by: Nick Treleaven <ntrel002@gmail.com>
No description provided.