Skip to content

Commit

Permalink
Correct typeof result for one of the Union types (#28843)
Browse files Browse the repository at this point in the history
This union is type-equivalent to `Real`, so the output is a bit misleading,
since this just evaluates `typeof(Real)` in disguised form. Remove
as suggested by yuyichao.
  • Loading branch information
pdbartlett authored and Keno committed Aug 23, 2018
1 parent 157fb34 commit 293c904
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions doc/src/manual/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -1152,9 +1152,6 @@ what their types are:
julia> typeof(Rational{Int})
DataType
julia> typeof(Union{Real,Float64,Rational})
DataType
julia> typeof(Union{Real,String})
Union
```
Expand Down

0 comments on commit 293c904

Please sign in to comment.