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

CFI: Support calling methods on supertraits #123012

Merged
merged 1 commit into from
Mar 30, 2024

Commits on Mar 29, 2024

  1. CFI: Encode Virtual calls as calls through the defining trait

    For example, if `trait Foo: Bar`, and we try to call a method from `Bar`
    on `dyn Foo`, encode the callsite as passing a `dyn Bar`, not a `dyn
    Foo`.
    maurer committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    d301f40 View commit details
    Browse the repository at this point in the history