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
Revert "Deprecate alias this for classes v2" #15326
Conversation
Thanks for your pull request, @WalterBright! 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 "stable + dmd#15326" |
I need to push a change to this PR. How do I do it? googling has failed me! |
Here is my attempt to fix it:
These commands succeeded, but where did my changes go? They're not here. |
What I typically do (assuming that you are now on master/main branch):
|
What is my fork name? |
This is the usual way I amend one of my pull requests:
Why did this not work in this case? Where did the |
When you use the 'revert' button on GitHub, it creates a branch in the |
Perhaps open a new pull request from your fork |
The deprecation of alias this for the class was a disaster mainly because there was no viable alternative. I'm happy with this revert but I think it would be good later to think about how to solve the problems that were with alias this or provide an alternative feature |
@dkorpel so I need to push it to upstream instead of origin? |
a87d172
to
b4ebb8f
Compare
Looks like pushing it to |
The test suite errors look irrelevant. |
b4ebb8f
to
c184843
Compare
ef276c0
to
ddd1605
Compare
ddd1605
to
eee96d9
Compare
eee96d9
to
24af6fe
Compare
24af6fe
to
5de1db8
Compare
This reverts commit af7817b.
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.
Now that stable is merged, no more spurious failures
* 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>
Reverts #14812
Well, that was a disaster. My fault.