Skip to content
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

Fix and test for issue #4117 #4274

Closed
wants to merge 3 commits into from

Conversation

rwgk
Copy link
Collaborator

@rwgk rwgk commented Oct 22, 2022

Description

See #3861 and #4117.

Suggested changelog entry:

TODO

@rwgk
Copy link
Collaborator Author

rwgk commented Oct 22, 2022

@laramiel thanks for suggesting the Python part of the test!

(I wasn't getting very lucky looking under https://github.com/wassimj/Topologic)

@rwgk
Copy link
Collaborator Author

rwgk commented Oct 22, 2022

@henryiii there is a test here.

@rwgk rwgk mentioned this pull request Oct 22, 2022
@rwgk
Copy link
Collaborator Author

rwgk commented Oct 22, 2022

@lalaland @laramiel It's interesting that the CI succeeded for #4273, it simply replaces intrinsic_t<T> with T.

@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 (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'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 for awareness.

BTW: Amazing coincidence that 3 people worked on fixes in 2 PRs at the same time.

@EthanSteinberg
Copy link
Collaborator

EthanSteinberg commented Oct 22, 2022 via email

@EthanSteinberg
Copy link
Collaborator

Don't actually have permission to reopen PRs, so created #4275


class Animal {
public:
virtual ~Animal() {}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
virtual ~Animal() {}
virtual ~Animal() = default;

@Skylion007 Skylion007 mentioned this pull request Oct 22, 2022
@rwgk
Copy link
Collaborator Author

rwgk commented Oct 22, 2022

Closing, superseded by #4275

@rwgk rwgk closed this Oct 22, 2022
@rwgk
Copy link
Collaborator Author

rwgk commented Oct 23, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants