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

Restrict signature for getindex(::AbstractString, ::AbstractVector} #20248

Merged
merged 1 commit into from
Feb 6, 2017

Commits on Jan 26, 2017

  1. Restrict signature for getindex(::AbstractString, ::AbstractVector}

    Only integer indices are supported by the generic interface, so better
    raise a MethodError for other element types rather than failing later.
    Ideally the Bool-specific method would not be needed, but it is required
    as long as Bool<:Integer.
    nalimilan committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    d15132e View commit details
    Browse the repository at this point in the history