Skip to content

Commit

Permalink
Add NEWS.md entry for getindex(::AbstractString, ::AbstractVector) si…
Browse files Browse the repository at this point in the history
…gnature tightening (JuliaLang#20248).
  • Loading branch information
Sacha0 committed May 12, 2017
1 parent 1129de3 commit 38422ef
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,14 @@ This section lists changes that do not have deprecation warnings.
* The `count` function no longer sums non-boolean values ([#20404])
* The generic `getindex(::AbstractString, ::AbstractVector)` method's signature has been
tightened to `getindex(::AbstractString, ::AbstractVector{<:Integer})`. Consequently,
indexing into `AbstractString`s with non-`AbstractVector{<:Integer}` `AbstractVector`s
now throws a `MethodError` in the absence of an appropriate specialization.
(Previously such cases failed less explicitly with the exception of
`AbstractVector{Bool}`, which now throws an `ArgumentError` noting that
logical indexing into strings is not supported.) ([#20248])
* Bessel, Hankel, Airy, error, Dawson, eta, zeta, digamma, inverse digamma,
trigamma, and polygamma special functions have been moved from Base to
the
Expand Down Expand Up @@ -501,6 +509,7 @@ Deprecated or removed
[#20079]: https://github.com/JuliaLang/julia/issues/20079
[#20164]: https://github.com/JuliaLang/julia/issues/20164
[#20228]: https://github.com/JuliaLang/julia/issues/20228
[#20248]: https://github.com/JuliaLang/julia/issues/20248
[#20249]: https://github.com/JuliaLang/julia/issues/20249
[#20268]: https://github.com/JuliaLang/julia/issues/20268
[#20321]: https://github.com/JuliaLang/julia/issues/20321
Expand Down

0 comments on commit 38422ef

Please sign in to comment.