Skip to content

Commit

Permalink
Merge pull request JuliaLang#19164 from xorJane/Issue18831
Browse files Browse the repository at this point in the history
Tell user to run `using Primes` in migration message. ref JuliaLang#18831
  • Loading branch information
StefanKarpinski authored Oct 31, 2016
2 parents b8511a6 + 8c14680 commit c2990e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ for deprecatedfunc in [:combinations, :factorial, :prevprod, :levicivita,
@eval begin
$deprecatedfunc(args...) = error(string($deprecatedfunc, args,
" has been moved to the package Combinatorics.jl.\n",
"Run Pkg.add(\"Combinatorics\") to install Combinatorics on Julia v0.5-"))
"Run Pkg.add(\"Combinatorics\") to install Combinatorics on Julia v0.5 and later."))
export $deprecatedfunc
end
end
Expand All @@ -209,7 +209,7 @@ for deprecatedfunc in [:isprime, :primes, :primesmask, :factor]
@eval begin
$deprecatedfunc(args...) = error(string($deprecatedfunc, args,
" has been moved to the package Primes.jl.\n",
"Run Pkg.add(\"Primes\") to install Primes on Julia v0.5-"))
"Run Pkg.add(\"Primes\") to install Primes on Julia v0.5 and later, and then run `using Primes`."))
export $deprecatedfunc
end
end
Expand Down

0 comments on commit c2990e8

Please sign in to comment.