Skip to content

Commit

Permalink
Fix incorrect function name in deprecation (JuliaLang#26047)
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan authored and JeffBezanson committed Feb 14, 2018
1 parent 567d0c0 commit 8f30d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,7 @@ export readandwrite
# PR 25458
@deprecate endof(a) lastindex(a)
function firstindex(a)
depwarn("if appropriate you should implement `firstindex` for type $(typeof(a)), which might just return 1", :beginof)
depwarn("if appropriate you should implement `firstindex` for type $(typeof(a)), which might just return 1", :firstindex)
1
end

Expand Down

0 comments on commit 8f30d37

Please sign in to comment.