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

[AnyHashable] Eliminate the _AnyHashableProtocol hack. #5132

Closed

Commits on Oct 5, 2016

  1. [AnyHashable] Eliminate the _AnyHashableProtocol hack.

    Now that we have the ability to write extensions where one of the type
    parameters is equivalent to a concrete type, eliminate
    _AnyHashableProtocol and provide AnyHashable-specific behavior for
    Dictionary (where Key == AnyHashable) and Set (where Element ==
    AnyHashable) rather than employing the "Key: _AnyHashableProtocol"
    hack.
    
    Fixes standard library ABI FIXME's swiftlang#35, swiftlang#37, swiftlang#39.
    DougGregor committed Oct 5, 2016
    Configuration menu
    Copy the full SHA
    b1d2887 View commit details
    Browse the repository at this point in the history