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

Replace A+Send trait subtyping with upcast coercion #23423

Merged
merged 2 commits into from
Mar 17, 2015

Commits on Mar 17, 2015

  1. Remove subtyping for object types and replace with an *upcast* coercion.

    This upcast coercion currently preserves the vtable for the object, but
    eventually it can be used to create a derived vtable. The upcast
    coercion is not introduced into method dispatch; see comment on rust-lang#18737
    for information about why. Fixes rust-lang#18737.
    nikomatsakis committed Mar 17, 2015
    Configuration menu
    Copy the full SHA
    5f5ed62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    277b4f0 View commit details
    Browse the repository at this point in the history