Skip to content

Commit

Permalink
Update doc deps (JuliaLang#20329)
Browse files Browse the repository at this point in the history
* Update Documenter to 0.9.0

* Fix failing doctests
  • Loading branch information
MichaelHatherly authored and KristofferC committed Jan 31, 2017
1 parent 2d86c42 commit 686ffce
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion base/docs/helpdb/Base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ If `T` is not a bitstype, an error is thrown.
julia> sizeof(Base.LinAlg.LU)
ERROR: argument is an abstract type; size is indeterminate
Stacktrace:
[1] sizeof(::Type{T} where T) at ./essentials.jl:122
[1] sizeof(::Type{T} where T) at ./essentials.jl:138
```
"""
sizeof(::Type)
Expand Down
2 changes: 1 addition & 1 deletion doc/REQUIRE
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Compat 0.9.5 0.9.5+
DocStringExtensions 0.3.1 0.3.1+
Documenter 0.8.10 0.8.10+
Documenter 0.9.0 0.9.0+
4 changes: 2 additions & 2 deletions doc/src/manual/constructors.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ julia> Point(1,2.5) ## implicit T ##
ERROR: MethodError: no method matching Point(::Int64, ::Float64)
Closest candidates are:
Point{T}(::Any) at sysimg.jl:24
Point{T<:Real}(::T<:Real, ::T<:Real) at none:2
Point{T<:Real}(::T<:Real, !Matched::T<:Real) at none:2
julia> Point{Int64}(1,2) ## explicit T ##
Point{Int64}(1,2)
Expand Down Expand Up @@ -381,7 +381,7 @@ julia> Point(1.5,2)
ERROR: MethodError: no method matching Point(::Float64, ::Int64)
Closest candidates are:
Point{T}(::Any) at sysimg.jl:24
Point{T<:Real}(::T<:Real, ::T<:Real) at none:1
Point{T<:Real}(::T<:Real, !Matched::T<:Real) at none:1
```

For a much more general way of making all such calls work sensibly, see [Conversion and Promotion](@ref conversion-and-promotion).
Expand Down

0 comments on commit 686ffce

Please sign in to comment.