diff --git a/doc/devdocs/types.rst b/doc/devdocs/types.rst index 7f9c089eafa25..b97d9ffb6e7b5 100644 --- a/doc/devdocs/types.rst +++ b/doc/devdocs/types.rst @@ -245,11 +245,11 @@ bound :obj:`TypeVar` objects with a hash (``#T`` instead of ``T``): .. doctest:: - julia> jl_(first(methods(candid))) - Method(sig=Tuple{Main.#candid, Array{#T<:Any, N<:Any}, #T<:Any}, va=false, isstaged=false, tvars=#T<:Any, func=Main.candid(?), invokes=nothing, next=nothing) + julia> jl_(first(methods(candid)).sig) + Tuple{Main.#candid, Array{#T<:Any, N<:Any}, #T<:Any} - julia> jl_(first(methods(sneaky))) - Method(sig=Tuple{Main.#sneaky, Array{#T<:Any, N<:Any}, T<:Any}, va=false, isstaged=false, tvars=#T<:Any, func=Main.sneaky(?), invokes=nothing, next=nothing) + julia> jl_(first(methods(sneaky)).sig) + Tuple{Main.#sneaky, Array{#T<:Any, N<:Any}, T<:Any} Even though both print as ``T``, in ``sneaky`` the second ``T`` is not bound, and hence it isn't constrained to be the same type as the diff --git a/doc/manual/metaprogramming.rst b/doc/manual/metaprogramming.rst index a2fca9211a7e2..52e4551dea937 100644 --- a/doc/manual/metaprogramming.rst +++ b/doc/manual/metaprogramming.rst @@ -629,14 +629,11 @@ Compare: Expr head: Symbol string args: Array{Any}((5,)) - 1: String - data: Array{UInt8}((3,)) UInt8[0x61,0x20,0x28] + 1: String "a (" 2: Symbol a - 3: String - data: Array{UInt8}((18,)) UInt8[0x29,0x20,0x73,0x68,0x6f,0x75,0x6c,0x64,0x20,0x65,0x71,0x75,0x61,0x6c,0x20,0x62,0x20,0x28] + 3: String ") should equal b (" 4: Symbol b - 5: String - data: Array{UInt8}((2,)) UInt8[0x29,0x21] + 5: String ")!" typ: Any So now instead of getting a plain string in ``msg_body``, the macro is diff --git a/doc/manual/stacktraces.rst b/doc/manual/stacktraces.rst index b86f0362ff1c4..e6c55ba6f4c61 100644 --- a/doc/manual/stacktraces.rst +++ b/doc/manual/stacktraces.rst @@ -89,7 +89,7 @@ Each :obj:`StackFrame` contains the function name, file name, line number, lambd 234 julia> top_frame.linfo - Nullable{LambdaInfo}(LambdaInfo for eval(::Module, ::Any) + Nullable{LambdaInfo}(LambdaInfo for eval(::Module, ::Any)) ... julia> top_frame.inlined