Skip to content

Failing test for runtime polymorphism. #62618

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

Merged
merged 1 commit into from
Dec 16, 2022
Merged

Conversation

mikepinkerton
Copy link

Add a (failing) test for runtime polymorphism.

This covers #62354 and will need to be fixed when that bug is fixed. Currently the vtable is not used for dispatching, so it ends up calling the statically-typed method.

@zoecarver
Copy link
Contributor

Yeah this is a good point. I wonder if we want to fix this test or just disable calling virtual methods. I don't mind landing this in the meantime.

@zoecarver
Copy link
Contributor

@swift-ci please test

@hyp hyp added the c++ interop Feature: Interoperability with C++ label Dec 15, 2022
@hyp hyp merged commit 7a809ef into swiftlang:main Dec 16, 2022
@hyp
Copy link
Contributor

hyp commented Dec 16, 2022

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants