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

Operator dispatch #18486

Merged
merged 6 commits into from
Nov 6, 2014
Merged

Operator dispatch #18486

merged 6 commits into from
Nov 6, 2014

Commits on Nov 5, 2014

  1. Repair various cases where values of distinct types were being operated

    upon (e.g., `&int` added to `int`).
    nikomatsakis committed Nov 5, 2014
    Configuration menu
    Copy the full SHA
    4af52ee View commit details
    Browse the repository at this point in the history
  2. Add impls of the comparison operators for fixed-length arrays of leng…

    …ths 0...32 and repair various cases where slices and fixed-length arrays were being compared.
    nikomatsakis committed Nov 5, 2014
    Configuration menu
    Copy the full SHA
    33ef78f View commit details
    Browse the repository at this point in the history
  3. Implement new operator dispatch semantics.

    Key points are:
    1. `a + b` maps directly to `Add<A,B>`, where `A` and `B` are the types of `a` and `b`.
    2. Indexing and slicing autoderefs consistently.
    nikomatsakis committed Nov 5, 2014
    Configuration menu
    Copy the full SHA
    0b5bc33 View commit details
    Browse the repository at this point in the history
  4. Update the guide examples and try not to leave user hanging as to what

    this `&x` sigil is all about.
    nikomatsakis committed Nov 5, 2014
    Configuration menu
    Copy the full SHA
    6371879 View commit details
    Browse the repository at this point in the history
  5. Remove incorrect doc annotation, mark experimental since we haven't d…

    …iscussed in an API meeting
    nikomatsakis committed Nov 5, 2014
    Configuration menu
    Copy the full SHA
    dfe8402 View commit details
    Browse the repository at this point in the history
  6. Better debug printouts

    nikomatsakis committed Nov 5, 2014
    9 Configuration menu
    Copy the full SHA
    81c00e6 View commit details
    Browse the repository at this point in the history