From 293c90424d26d7b090038dd4a7cf5b419f005040 Mon Sep 17 00:00:00 2001 From: Paul Bartlett Date: Fri, 24 Aug 2018 00:24:03 +0100 Subject: [PATCH] Correct typeof result for one of the Union types (#28843) 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. --- doc/src/manual/types.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/src/manual/types.md b/doc/src/manual/types.md index 44eb1c76ea39b..5f307edaa989b 100644 --- a/doc/src/manual/types.md +++ b/doc/src/manual/types.md @@ -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 ```