-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Fix and test for issue #4117 #4274
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
Conversation
@laramiel thanks for suggesting the Python part of the test! (I wasn't getting very lucky looking under https://github.com/wassimj/Topologic) |
@henryiii there is a test here. |
@lalaland @laramiel It's interesting that the CI succeeded for #4273, it simply replaces @lalaland did you come to the idea that I almost think it will be best to drop this PR and reopen and merge #4273 (the only hiccup was the unused ctypes import). Although it might be useful to add in the Python part of the test from here, which has a Python override returning @henryiii for awareness. BTW: Amazing coincidence that 3 people worked on fixes in 2 PRs at the same time. |
@lalaland <https://github.com/Lalaland> did you come to the idea that
intrinsic_t is unnecessary by inspecting the calling code?
I switched it to T just to revert to the old behavior in 2.9
Your version with remove_cv is more correct (and an improvement over 2.9,
as opposed to just fixing the regression).
I can quickly reopen #4273 with the needed changes (remove_cv and returning
self).
…On Sat, Oct 22, 2022, 12:23 AM Ralf W. Grosse-Kunstleve < ***@***.***> wrote:
@lalaland <https://github.com/Lalaland> @laramiel
<https://github.com/laramiel> It's interesting that the CI succeeded for
#4273 <#4273>, it simply replaces
intrinsic_t<T> with T.
@lalaland <https://github.com/Lalaland> did you come to the idea that
intrinsic_t is unnecessary by inspecting the calling code?
I almost think it will be best to drop this PR and reopen and merge #4273
<#4273> (the only hiccup was the
unused ctypes import). Although it might be useful to add in the Python
part of the test from here, which has a Python override returning self (
@laramiel <https://github.com/laramiel>'s idea). I believe it is
redundant for the purpose of exercising the exact core fix, but it is a
different situation that we evidently don't cover otherwise, and is very
little extra code.
@henryiii <https://github.com/henryiii> for awareness.
BTW: Amazing coincidence that 3 people worked on fixes in 2 PRs at the
same time.
—
Reply to this email directly, view it on GitHub
<#4274 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACTRWJ5Z633JHZPSANCH4DWEOJAPANCNFSM6AAAAAARLU5JRY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Don't actually have permission to reopen PRs, so created #4275 |
|
||
class Animal { | ||
public: | ||
virtual ~Animal() {} |
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.
virtual ~Animal() {} | |
virtual ~Animal() = default; |
Closing, superseded by #4275 |
FWIW / future reference: I rebased and squashed my branch after #4275 was merged, JIC we want to resurrect the test later. I also verified that the test succeeds as expected. |
Description
See #3861 and #4117.
Suggested changelog entry: