<p dir="auto">When creating an array of tuples that contain another array inside of the field the printing returns an error:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="m = (a=10, b=[1,2])
m2 = (a=10, b2=1)
[m,m2]

type UnionAll has no field name

Stacktrace:
 [1] getproperty at ./sysimg.jl:15 [inlined]
 [2] typeinfo_prefix(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Array{Int64,1}) at ./arrayshow.jl:477
 [3] show_vector(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Array{Int64,1}, ::Char, ::Char) at ./arrayshow.jl:431 (repeats 2 times)
 [4] show at ./arrayshow.jl:417 [inlined]
 [5] show(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}) at ./namedtuple.jl:142
 [6] #sprint#330(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Int64, ::Function, ::Function, ::NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}) at ./strings/io.jl:97
 [7] #sprint at ./none:0 [inlined]
 [8] alignment(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}) at ./show.jl:1719
 [9] alignment(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Array{NamedTuple,1}, ::Base.OneTo{Int64}, ::Base.OneTo{Int64}, ::Int64, ::Int64, ::Int64) at ./arrayshow.jl:68
 [10] print_matrix(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Array{NamedTuple,1}, ::String, ::String, ::String, ::String, ::String, ::String, ::Int64, ::Int64) at ./arrayshow.jl:186
 [11] print_matrix at ./arrayshow.jl:159 [inlined]
 [12] print_array at ./arrayshow.jl:308 [inlined]
 [13] show(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::MIME{Symbol(&quot;text/plain&quot;)}, ::Array{NamedTuple,1}) at ./arrayshow.jl:344
 [14] limitstringmime(::MIME{Symbol(&quot;text/plain&quot;)}, ::Array{NamedTuple,1}) at /Users/jdlara/.julia/packages/IJulia/Nnq2/src/inline.jl:24
 [15] display_dict(::Array{NamedTuple,1}) at /Users/jdlara/.julia/packages/IJulia/Nnq2/src/execute_request.jl:28
 [16] #invokelatest#1 at ./essentials.jl:670 [inlined]
 [17] invokelatest at ./essentials.jl:669 [inlined]
 [18] execute_request(::ZMQ.Socket, ::IJulia.Msg) at /Users/jdlara/.julia/packages/IJulia/Nnq2/src/execute_request.jl:208
 [19] #invokelatest#1 at ./essentials.jl:670 [inlined]
 [20] invokelatest at ./essentials.jl:669 [inlined]
 [21] eventloop(::ZMQ.Socket) at /Users/jdlara/.julia/packages/IJulia/Nnq2/src/eventloop.jl:8
 [22] (::getfield(IJulia, Symbol(&quot;##15#18&quot;)))() at ./task.jl:257"><pre class="notranslate">m <span class="pl-k">=</span> (a<span class="pl-k">=</span><span class="pl-c1">10</span>, b<span class="pl-k">=</span>[<span class="pl-c1">1</span>,<span class="pl-c1">2</span>])
m2 <span class="pl-k">=</span> (a<span class="pl-k">=</span><span class="pl-c1">10</span>, b2<span class="pl-k">=</span><span class="pl-c1">1</span>)
[m,m2]

type UnionAll has no field name

Stacktrace<span class="pl-k">:</span>
 [<span class="pl-c1">1</span>] getproperty at <span class="pl-k">./</span>sysimg<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">15</span> [inlined]
 [<span class="pl-c1">2</span>] <span class="pl-c1">typeinfo_prefix</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{Int64,1}</span>) at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">477</span>
 [<span class="pl-c1">3</span>] <span class="pl-c1">show_vector</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{Int64,1}</span>, <span class="pl-k">::</span><span class="pl-c1">Char</span>, <span class="pl-k">::</span><span class="pl-c1">Char</span>) at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">431</span> (repeats <span class="pl-c1">2</span> times)
 [<span class="pl-c1">4</span>] show at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">417</span> [inlined]
 [<span class="pl-c1">5</span>] <span class="pl-c1">show</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}</span>) at <span class="pl-k">./</span>namedtuple<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">142</span>
 [<span class="pl-c1">6</span>] <span class="pl-c"><span class="pl-c">#</span>sprint#330(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Int64, ::Function, ::Function, ::NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}) at ./strings/io.jl:97</span>
 [<span class="pl-c1">7</span>] <span class="pl-c"><span class="pl-c">#</span>sprint at ./none:0 [inlined]</span>
 [<span class="pl-c1">8</span>] <span class="pl-c1">alignment</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}</span>) at <span class="pl-k">./</span>show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1719</span>
 [<span class="pl-c1">9</span>] <span class="pl-c1">alignment</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>, <span class="pl-k">::</span><span class="pl-c1">Base.OneTo{Int64}</span>, <span class="pl-k">::</span><span class="pl-c1">Base.OneTo{Int64}</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">68</span>
 [<span class="pl-c1">10</span>] <span class="pl-c1">print_matrix</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">186</span>
 [<span class="pl-c1">11</span>] print_matrix at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">159</span> [inlined]
 [<span class="pl-c1">12</span>] print_array at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">308</span> [inlined]
 [<span class="pl-c1">13</span>] <span class="pl-c1">show</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">MIME{Symbol("text/plain")}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>) at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">344</span>
 [<span class="pl-c1">14</span>] <span class="pl-c1">limitstringmime</span>(<span class="pl-k">::</span><span class="pl-c1">MIME{Symbol("text/plain")}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>) at <span class="pl-k">/</span>Users<span class="pl-k">/</span>jdlara<span class="pl-k">/</span><span class="pl-k">.</span>julia<span class="pl-k">/</span>packages<span class="pl-k">/</span>IJulia<span class="pl-k">/</span>Nnq2<span class="pl-k">/</span>src<span class="pl-k">/</span>inline<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">24</span>
 [<span class="pl-c1">15</span>] <span class="pl-c1">display_dict</span>(<span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>) at <span class="pl-k">/</span>Users<span class="pl-k">/</span>jdlara<span class="pl-k">/</span><span class="pl-k">.</span>julia<span class="pl-k">/</span>packages<span class="pl-k">/</span>IJulia<span class="pl-k">/</span>Nnq2<span class="pl-k">/</span>src<span class="pl-k">/</span>execute_request<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">28</span>
 [<span class="pl-c1">16</span>] <span class="pl-c"><span class="pl-c">#</span>invokelatest#1 at ./essentials.jl:670 [inlined]</span>
 [<span class="pl-c1">17</span>] invokelatest at <span class="pl-k">./</span>essentials<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">669</span> [inlined]
 [<span class="pl-c1">18</span>] <span class="pl-c1">execute_request</span>(<span class="pl-k">::</span><span class="pl-c1">ZMQ.Socket</span>, <span class="pl-k">::</span><span class="pl-c1">IJulia.Msg</span>) at <span class="pl-k">/</span>Users<span class="pl-k">/</span>jdlara<span class="pl-k">/</span><span class="pl-k">.</span>julia<span class="pl-k">/</span>packages<span class="pl-k">/</span>IJulia<span class="pl-k">/</span>Nnq2<span class="pl-k">/</span>src<span class="pl-k">/</span>execute_request<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">208</span>
 [<span class="pl-c1">19</span>] <span class="pl-c"><span class="pl-c">#</span>invokelatest#1 at ./essentials.jl:670 [inlined]</span>
 [<span class="pl-c1">20</span>] invokelatest at <span class="pl-k">./</span>essentials<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">669</span> [inlined]
 [<span class="pl-c1">21</span>] <span class="pl-c1">eventloop</span>(<span class="pl-k">::</span><span class="pl-c1">ZMQ.Socket</span>) at <span class="pl-k">/</span>Users<span class="pl-k">/</span>jdlara<span class="pl-k">/</span><span class="pl-k">.</span>julia<span class="pl-k">/</span>packages<span class="pl-k">/</span>IJulia<span class="pl-k">/</span>Nnq2<span class="pl-k">/</span>src<span class="pl-k">/</span>eventloop<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">8</span>
 [<span class="pl-c1">22</span>] (<span class="pl-k">::</span><span class="pl-c1">getfield</span>(IJulia, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##15#18<span class="pl-pds">"</span></span>)))() at <span class="pl-k">./</span>task<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">257</span></pre></div>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tshort/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tshort">@tshort</a> Added this other example with more detail in the discussion</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; c = [m,m2];

julia&gt; c[1]
(a = 10, b = [1, 2])

julia&gt; c[2]
(a = 10, b2 = 1)

julia&gt; c[[2]]
1-element Array{NamedTuple,1}:
 (a = 10, b2 = 1)

julia&gt; c[[1]]
1-element Array{NamedTuple,1}:
Error showing value of type Array{NamedTuple,1}:
ERROR: AssertionError: Array{Int64,1} is not a subtype of NamedTuple
Stacktrace:
 [1] typeinfo_prefix(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Array{Int64,1}) at .\arrayshow.jl:480
 [2] show_vector(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Array{Int64,1}, ::Char, ::Char) at .\arrayshow.jl:433 (repeats 2 times)
 [3] show(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Array{Int64,1}) at .\arrayshow.jl:447
 [4] show(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}) at .\namedtuple.jl:82
 [5] #sprint#312(::IOContext{Base.Terminals.TTYTerminal}, ::Int64, ::Function, ::Function, ::NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}, ::Vararg{NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}},N} where N) at .\strings\io.jl:89
 [6] #sprint at .\&lt;missing&gt;:0 [inlined]
 [7] alignment(::IOContext{Base.Terminals.TTYTerminal}, ::NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}) at .\show.jl:1680
 [8] alignment(::IOContext{Base.Terminals.TTYTerminal}, ::Array{NamedTuple,1}, ::Base.OneTo{Int64}, ::Base.OneTo{Int64}, ::Int64, ::Int64, ::Int64) at .\arrayshow.jl:68
 [9] print_matrix(::IOContext{Base.Terminals.TTYTerminal}, ::Array{NamedTuple,1}, ::String, ::String, ::String, ::String, ::String, ::String, ::Int64, ::Int64) at .\arrayshow.jl:187
 [10] print_matrix at .\arrayshow.jl:160 [inlined]
 [11] print_array at .\arrayshow.jl:309 [inlined]
 [12] _display(::IOContext{Base.Terminals.TTYTerminal}, ::Array{NamedTuple,1}) at .\arrayshow.jl:345
 [13] show(::IOContext{Base.Terminals.TTYTerminal}, ::MIME{Symbol(&quot;text/plain&quot;)}, ::Array{NamedTuple,1}) at .\replutil.jl:139
 [14] display(::Base.REPL.REPLDisplay{Base.REPL.LineEditREPL}, ::MIME{Symbol(&quot;text/plain&quot;)}, ::Array{NamedTuple,1}) at .\repl\REPL.jl:126
 [15] display(::Base.REPL.REPLDisplay{Base.REPL.LineEditREPL}, ::Array{NamedTuple,1}) at .\repl\REPL.jl:129
 [16] display(::Array{NamedTuple,1}) at .\multimedia.jl:291
 [17] (::getfield(Base, Symbol(&quot;#inner#4&quot;)){Base.Iterators.IndexValue{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}},typeof(display),Tuple{Array{NamedTuple,1}}})() at .\essentials.jl:666
 [18] #invokelatest#3 at .\essentials.jl:667 [inlined]
 [19] invokelatest at .\essentials.jl:666 [inlined]
 [20] print_response(::Base.Terminals.TTYTerminal, ::Any, ::Nothing, ::Bool, ::Bool, ::Nothing) at .\repl\REPL.jl:147
 [21] print_response(::Base.REPL.LineEditREPL, ::Any, ::Nothing, ::Bool, ::Bool) at .\repl\REPL.jl:133
 [22] (::getfield(Base.REPL, Symbol(&quot;#do_respond#15&quot;)){Bool,getfield(Base.REPL, Symbol(&quot;##25#35&quot;)){Base.REPL.LineEditREPL,Base.REPL.REPLHistoryProvider},Base.REPL.LineEditREPL,Base.LineEdit.Prompt})(::Base.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at .\repl\REPL.jl:707
 [23] top-level scope"><pre class="notranslate">julia<span class="pl-k">&gt;</span> c <span class="pl-k">=</span> [m,m2];

julia<span class="pl-k">&gt;</span> c[<span class="pl-c1">1</span>]
(a <span class="pl-k">=</span> <span class="pl-c1">10</span>, b <span class="pl-k">=</span> [<span class="pl-c1">1</span>, <span class="pl-c1">2</span>])

julia<span class="pl-k">&gt;</span> c[<span class="pl-c1">2</span>]
(a <span class="pl-k">=</span> <span class="pl-c1">10</span>, b2 <span class="pl-k">=</span> <span class="pl-c1">1</span>)

julia<span class="pl-k">&gt;</span> c[[<span class="pl-c1">2</span>]]
<span class="pl-c1">1</span><span class="pl-k">-</span>element Array{NamedTuple,<span class="pl-c1">1</span>}<span class="pl-k">:</span>
 (a <span class="pl-k">=</span> <span class="pl-c1">10</span>, b2 <span class="pl-k">=</span> <span class="pl-c1">1</span>)

julia<span class="pl-k">&gt;</span> c[[<span class="pl-c1">1</span>]]
<span class="pl-c1">1</span><span class="pl-k">-</span>element Array{NamedTuple,<span class="pl-c1">1</span>}<span class="pl-k">:</span>
Error showing value of type Array{NamedTuple,<span class="pl-c1">1</span>}<span class="pl-k">:</span>
ERROR<span class="pl-k">:</span> AssertionError<span class="pl-k">:</span> Array{Int64,<span class="pl-c1">1</span>} is not a subtype of NamedTuple
Stacktrace<span class="pl-k">:</span>
 [<span class="pl-c1">1</span>] <span class="pl-c1">typeinfo_prefix</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{Int64,1}</span>) at <span class="pl-k">.\</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">480</span>
 [<span class="pl-c1">2</span>] <span class="pl-c1">show_vector</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{Int64,1}</span>, <span class="pl-k">::</span><span class="pl-c1">Char</span>, <span class="pl-k">::</span><span class="pl-c1">Char</span>) at <span class="pl-k">.\</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">433</span> (repeats <span class="pl-c1">2</span> times)
 [<span class="pl-c1">3</span>] <span class="pl-c1">show</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{Int64,1}</span>) at <span class="pl-k">.\</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">447</span>
 [<span class="pl-c1">4</span>] <span class="pl-c1">show</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}</span>) at <span class="pl-k">.\</span>namedtuple<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">82</span>
 [<span class="pl-c1">5</span>] <span class="pl-c"><span class="pl-c">#</span>sprint#312(::IOContext{Base.Terminals.TTYTerminal}, ::Int64, ::Function, ::Function, ::NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}, ::Vararg{NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}},N} where N) at .\strings\io.jl:89</span>
 [<span class="pl-c1">6</span>] <span class="pl-c"><span class="pl-c">#</span>sprint at .\&lt;missing&gt;:0 [inlined]</span>
 [<span class="pl-c1">7</span>] <span class="pl-c1">alignment</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}</span>) at <span class="pl-k">.\</span>show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1680</span>
 [<span class="pl-c1">8</span>] <span class="pl-c1">alignment</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>, <span class="pl-k">::</span><span class="pl-c1">Base.OneTo{Int64}</span>, <span class="pl-k">::</span><span class="pl-c1">Base.OneTo{Int64}</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">.\</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">68</span>
 [<span class="pl-c1">9</span>] <span class="pl-c1">print_matrix</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">.\</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">187</span>
 [<span class="pl-c1">10</span>] print_matrix at <span class="pl-k">.\</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">160</span> [inlined]
 [<span class="pl-c1">11</span>] print_array at <span class="pl-k">.\</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">309</span> [inlined]
 [<span class="pl-c1">12</span>] <span class="pl-c1">_display</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>) at <span class="pl-k">.\</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">345</span>
 [<span class="pl-c1">13</span>] <span class="pl-c1">show</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">MIME{Symbol("text/plain")}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>) at <span class="pl-k">.\</span>replutil<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">139</span>
 [<span class="pl-c1">14</span>] <span class="pl-c1">display</span>(<span class="pl-k">::</span><span class="pl-c1">Base.REPL.REPLDisplay{Base.REPL.LineEditREPL}</span>, <span class="pl-k">::</span><span class="pl-c1">MIME{Symbol("text/plain")}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>) at <span class="pl-k">.\</span>repl<span class="pl-k">\</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">126</span>
 [<span class="pl-c1">15</span>] <span class="pl-c1">display</span>(<span class="pl-k">::</span><span class="pl-c1">Base.REPL.REPLDisplay{Base.REPL.LineEditREPL}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>) at <span class="pl-k">.\</span>repl<span class="pl-k">\</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">129</span>
 [<span class="pl-c1">16</span>] <span class="pl-c1">display</span>(<span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>) at <span class="pl-k">.\</span>multimedia<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">291</span>
 [<span class="pl-c1">17</span>] (<span class="pl-k">::</span><span class="pl-c1">getfield</span>(Base, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>#inner#4<span class="pl-pds">"</span></span>)){Base<span class="pl-k">.</span>Iterators<span class="pl-k">.</span>IndexValue{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}},<span class="pl-c1">typeof</span>(display),Tuple{Array{NamedTuple,<span class="pl-c1">1</span>}}})() at <span class="pl-k">.\</span>essentials<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">666</span>
 [<span class="pl-c1">18</span>] <span class="pl-c"><span class="pl-c">#</span>invokelatest#3 at .\essentials.jl:667 [inlined]</span>
 [<span class="pl-c1">19</span>] invokelatest at <span class="pl-k">.\</span>essentials<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">666</span> [inlined]
 [<span class="pl-c1">20</span>] <span class="pl-c1">print_response</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Terminals.TTYTerminal</span>, <span class="pl-k">::</span><span class="pl-c1">Any</span>, <span class="pl-k">::</span><span class="pl-c1">Nothing</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Nothing</span>) at <span class="pl-k">.\</span>repl<span class="pl-k">\</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">147</span>
 [<span class="pl-c1">21</span>] <span class="pl-c1">print_response</span>(<span class="pl-k">::</span><span class="pl-c1">Base.REPL.LineEditREPL</span>, <span class="pl-k">::</span><span class="pl-c1">Any</span>, <span class="pl-k">::</span><span class="pl-c1">Nothing</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>) at <span class="pl-k">.\</span>repl<span class="pl-k">\</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">133</span>
 [<span class="pl-c1">22</span>] (<span class="pl-k">::</span><span class="pl-c1">getfield</span>(Base<span class="pl-k">.</span>REPL, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>#do_respond#15<span class="pl-pds">"</span></span>)){Bool,<span class="pl-c1">getfield</span>(Base<span class="pl-k">.</span>REPL, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##25#35<span class="pl-pds">"</span></span>)){Base<span class="pl-k">.</span>REPL<span class="pl-k">.</span>LineEditREPL,Base<span class="pl-k">.</span>REPL<span class="pl-k">.</span>REPLHistoryProvider},Base<span class="pl-k">.</span>REPL<span class="pl-k">.</span>LineEditREPL,Base<span class="pl-k">.</span>LineEdit<span class="pl-k">.</span>Prompt})(<span class="pl-k">::</span><span class="pl-c1">Base.LineEdit.MIState</span>, <span class="pl-k">::</span><span class="pl-c1">Base.GenericIOBuffer{Array{UInt8,1}}</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>) at <span class="pl-k">.\</span>repl<span class="pl-k">\</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">707</span>
 [<span class="pl-c1">23</span>] top<span class="pl-k">-</span>level scope</pre></div>
<p dir="auto">Hello, this happens in REPL on <code class="notranslate">julia 0.7.0-beta2</code>:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; A = [(a=1, b=2), (a=3,c=4)]
2-element Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}:
Error showing value of type Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}:
ERROR: BoundsError: attempt to access NamedTuple{names,Tuple{Int64,Int64}}
  at index [1]
Stacktrace:
 [1] show(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::NamedTuple{(:a, :b),Tuple{Int64,Int64}}) at ./namedtuple.jl:144
 [2] #sprint#335(::IOContext{REPL.Terminals.TTYTerminal}, ::Int64, ::Function, ::Function, ::NamedTuple{(:a, :b),Tuple{Int64,Int64}}) at ./strings/io.jl:99
 [3] #sprint at ./none:0 [inlined]
 [4] alignment(::IOContext{REPL.Terminals.TTYTerminal}, ::NamedTuple{(:a, :b),Tuple{Int64,Int64}}) at ./show.jl:1732
 [5] alignment(::IOContext{REPL.Terminals.TTYTerminal}, ::Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}, ::UnitRange{Int64}, ::UnitRange{Int64}, ::Int64, ::Int64, ::Int64) at ./arrayshow.jl:68
 [6] print_matrix(::IOContext{REPL.Terminals.TTYTerminal}, ::Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}, ::String, ::String, ::String, ::String, ::String, ::String, ::Int64, ::Int64) at ./arrayshow.jl:186
 [7] print_matrix at ./arrayshow.jl:159 [inlined]
 [8] print_array at ./arrayshow.jl:308 [inlined]
 [9] show(::IOContext{REPL.Terminals.TTYTerminal}, ::MIME{Symbol(&quot;text/plain&quot;)}, ::Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}) at ./arrayshow.jl:344
 [10] display(::REPL.REPLDisplay{REPL.LineEditREPL}, ::MIME{Symbol(&quot;text/plain&quot;)}, ::Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:130
 [11] display(::REPL.REPLDisplay{REPL.LineEditREPL}, ::Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:133
 [12] display(::Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}) at ./multimedia.jl:287
 [13] #invokelatest#1 at ./essentials.jl:660 [inlined]
 [14] invokelatest at ./essentials.jl:659 [inlined]
 [15] print_response(::REPL.Terminals.TTYTerminal, ::Any, ::Nothing, ::Bool, ::Bool, ::Nothing) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:151
 [16] print_response(::REPL.LineEditREPL, ::Any, ::Nothing, ::Bool, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:137
 [17] (::getfield(REPL, Symbol(&quot;#do_respond#42&quot;)){Bool,getfield(REPL, Symbol(&quot;##52#61&quot;)){REPL.LineEditREPL,REPL.REPLHistoryProvider},REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:706
 [18] (::getfield(REPL, Symbol(&quot;##57#66&quot;)))(::REPL.LineEdit.MIState, ::REPL.LineEditREPL, ::Vararg{Any,N} where N) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:969
 [19] #invokelatest#1 at ./essentials.jl:660 [inlined]
 [20] invokelatest at ./essentials.jl:659 [inlined]
 [21] (::getfield(REPL.LineEdit, Symbol(&quot;##27#28&quot;)){getfield(REPL, Symbol(&quot;##57#66&quot;)),String})(::REPL.LineEdit.MIState, ::REPL.LineEditREPL) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/LineEdit.jl:1302
 [22] prompt!(::REPL.Terminals.TTYTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/LineEdit.jl:2311
 [23] run_interface(::REPL.Terminals.TTYTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/LineEdit.jl:2212
 [24] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:1026
 [25] run_repl(::REPL.LineEditREPL, ::getfield(Base, Symbol(&quot;##824#826&quot;))) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:187
 [26] macro expansion at ./logging.jl:299 [inlined]
 [27] (::getfield(Base, Symbol(&quot;##823#825&quot;)){Bool,Bool,Bool,Bool})(::Module) at ./client.jl:347
 [28] #invokelatest#1 at ./essentials.jl:660 [inlined]
 [29] invokelatest at ./essentials.jl:659 [inlined]
 [30] macro expansion at ./logging.jl:296 [inlined]
 [31] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:335
 [32] exec_options(::Base.JLOptions) at ./client.jl:247
 [33] _start() at ./client.jl:427"><pre class="notranslate">julia<span class="pl-k">&gt;</span> A <span class="pl-k">=</span> [(a<span class="pl-k">=</span><span class="pl-c1">1</span>, b<span class="pl-k">=</span><span class="pl-c1">2</span>), (a<span class="pl-k">=</span><span class="pl-c1">3</span>,c<span class="pl-k">=</span><span class="pl-c1">4</span>)]
<span class="pl-c1">2</span><span class="pl-k">-</span>element Array{NamedTuple{names,Tuple{Int64,Int64}} <span class="pl-k">where</span> names,<span class="pl-c1">1</span>}<span class="pl-k">:</span>
Error showing value of type Array{NamedTuple{names,Tuple{Int64,Int64}} <span class="pl-k">where</span> names,<span class="pl-c1">1</span>}<span class="pl-k">:</span>
ERROR<span class="pl-k">:</span> BoundsError<span class="pl-k">:</span> attempt to access NamedTuple{names,Tuple{Int64,Int64}}
  at index [<span class="pl-c1">1</span>]
Stacktrace<span class="pl-k">:</span>
 [<span class="pl-c1">1</span>] <span class="pl-c1">show</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">NamedTuple{(:a, :b),Tuple{Int64,Int64}}</span>) at <span class="pl-k">./</span>namedtuple<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">144</span>
 [<span class="pl-c1">2</span>] <span class="pl-c"><span class="pl-c">#</span>sprint#335(::IOContext{REPL.Terminals.TTYTerminal}, ::Int64, ::Function, ::Function, ::NamedTuple{(:a, :b),Tuple{Int64,Int64}}) at ./strings/io.jl:99</span>
 [<span class="pl-c1">3</span>] <span class="pl-c"><span class="pl-c">#</span>sprint at ./none:0 [inlined]</span>
 [<span class="pl-c1">4</span>] <span class="pl-c1">alignment</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{REPL.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">NamedTuple{(:a, :b),Tuple{Int64,Int64}}</span>) at <span class="pl-k">./</span>show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1732</span>
 [<span class="pl-c1">5</span>] <span class="pl-c1">alignment</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{REPL.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}</span>, <span class="pl-k">::</span><span class="pl-c1">UnitRange{Int64}</span>, <span class="pl-k">::</span><span class="pl-c1">UnitRange{Int64}</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">68</span>
 [<span class="pl-c1">6</span>] <span class="pl-c1">print_matrix</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{REPL.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">186</span>
 [<span class="pl-c1">7</span>] print_matrix at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">159</span> [inlined]
 [<span class="pl-c1">8</span>] print_array at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">308</span> [inlined]
 [<span class="pl-c1">9</span>] <span class="pl-c1">show</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{REPL.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">MIME{Symbol("text/plain")}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}</span>) at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">344</span>
 [<span class="pl-c1">10</span>] <span class="pl-c1">display</span>(<span class="pl-k">::</span><span class="pl-c1">REPL.REPLDisplay{REPL.LineEditREPL}</span>, <span class="pl-k">::</span><span class="pl-c1">MIME{Symbol("text/plain")}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">130</span>
 [<span class="pl-c1">11</span>] <span class="pl-c1">display</span>(<span class="pl-k">::</span><span class="pl-c1">REPL.REPLDisplay{REPL.LineEditREPL}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">133</span>
 [<span class="pl-c1">12</span>] <span class="pl-c1">display</span>(<span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}</span>) at <span class="pl-k">./</span>multimedia<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">287</span>
 [<span class="pl-c1">13</span>] <span class="pl-c"><span class="pl-c">#</span>invokelatest#1 at ./essentials.jl:660 [inlined]</span>
 [<span class="pl-c1">14</span>] invokelatest at <span class="pl-k">./</span>essentials<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">659</span> [inlined]
 [<span class="pl-c1">15</span>] <span class="pl-c1">print_response</span>(<span class="pl-k">::</span><span class="pl-c1">REPL.Terminals.TTYTerminal</span>, <span class="pl-k">::</span><span class="pl-c1">Any</span>, <span class="pl-k">::</span><span class="pl-c1">Nothing</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Nothing</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">151</span>
 [<span class="pl-c1">16</span>] <span class="pl-c1">print_response</span>(<span class="pl-k">::</span><span class="pl-c1">REPL.LineEditREPL</span>, <span class="pl-k">::</span><span class="pl-c1">Any</span>, <span class="pl-k">::</span><span class="pl-c1">Nothing</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">137</span>
 [<span class="pl-c1">17</span>] (<span class="pl-k">::</span><span class="pl-c1">getfield</span>(REPL, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>#do_respond#42<span class="pl-pds">"</span></span>)){Bool,<span class="pl-c1">getfield</span>(REPL, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##52#61<span class="pl-pds">"</span></span>)){REPL<span class="pl-k">.</span>LineEditREPL,REPL<span class="pl-k">.</span>REPLHistoryProvider},REPL<span class="pl-k">.</span>LineEditREPL,REPL<span class="pl-k">.</span>LineEdit<span class="pl-k">.</span>Prompt})(<span class="pl-k">::</span><span class="pl-c1">REPL.LineEdit.MIState</span>, <span class="pl-k">::</span><span class="pl-c1">Base.GenericIOBuffer{Array{UInt8,1}}</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">706</span>
 [<span class="pl-c1">18</span>] (<span class="pl-k">::</span><span class="pl-c1">getfield</span>(REPL, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##57#66<span class="pl-pds">"</span></span>)))(<span class="pl-k">::</span><span class="pl-c1">REPL.LineEdit.MIState</span>, <span class="pl-k">::</span><span class="pl-c1">REPL.LineEditREPL</span>, <span class="pl-k">::</span><span class="pl-c1">Vararg{Any,N}</span> <span class="pl-k">where</span> N) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">969</span>
 [<span class="pl-c1">19</span>] <span class="pl-c"><span class="pl-c">#</span>invokelatest#1 at ./essentials.jl:660 [inlined]</span>
 [<span class="pl-c1">20</span>] invokelatest at <span class="pl-k">./</span>essentials<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">659</span> [inlined]
 [<span class="pl-c1">21</span>] (<span class="pl-k">::</span><span class="pl-c1">getfield</span>(REPL<span class="pl-k">.</span>LineEdit, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##27#28<span class="pl-pds">"</span></span>)){<span class="pl-c1">getfield</span>(REPL, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##57#66<span class="pl-pds">"</span></span>)),String})(<span class="pl-k">::</span><span class="pl-c1">REPL.LineEdit.MIState</span>, <span class="pl-k">::</span><span class="pl-c1">REPL.LineEditREPL</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>LineEdit<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1302</span>
 [<span class="pl-c1">22</span>] <span class="pl-c1">prompt!</span>(<span class="pl-k">::</span><span class="pl-c1">REPL.Terminals.TTYTerminal</span>, <span class="pl-k">::</span><span class="pl-c1">REPL.LineEdit.ModalInterface</span>, <span class="pl-k">::</span><span class="pl-c1">REPL.LineEdit.MIState</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>LineEdit<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">2311</span>
 [<span class="pl-c1">23</span>] <span class="pl-c1">run_interface</span>(<span class="pl-k">::</span><span class="pl-c1">REPL.Terminals.TTYTerminal</span>, <span class="pl-k">::</span><span class="pl-c1">REPL.LineEdit.ModalInterface</span>, <span class="pl-k">::</span><span class="pl-c1">REPL.LineEdit.MIState</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>LineEdit<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">2212</span>
 [<span class="pl-c1">24</span>] <span class="pl-c1">run_frontend</span>(<span class="pl-k">::</span><span class="pl-c1">REPL.LineEditREPL</span>, <span class="pl-k">::</span><span class="pl-c1">REPL.REPLBackendRef</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1026</span>
 [<span class="pl-c1">25</span>] <span class="pl-c1">run_repl</span>(<span class="pl-k">::</span><span class="pl-c1">REPL.LineEditREPL</span>, <span class="pl-k">::</span><span class="pl-c1">getfield</span>(Base, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##824#826<span class="pl-pds">"</span></span>))) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">187</span>
 [<span class="pl-c1">26</span>] <span class="pl-k">macro</span> expansion at <span class="pl-k">./</span>logging<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">299</span> [inlined]
 [<span class="pl-c1">27</span>] (<span class="pl-k">::</span><span class="pl-c1">getfield</span>(Base, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##823#825<span class="pl-pds">"</span></span>)){Bool,Bool,Bool,Bool})(<span class="pl-k">::</span><span class="pl-c1">Module</span>) at <span class="pl-k">./</span>client<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">347</span>
 [<span class="pl-c1">28</span>] <span class="pl-c"><span class="pl-c">#</span>invokelatest#1 at ./essentials.jl:660 [inlined]</span>
 [<span class="pl-c1">29</span>] invokelatest at <span class="pl-k">./</span>essentials<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">659</span> [inlined]
 [<span class="pl-c1">30</span>] <span class="pl-k">macro</span> expansion at <span class="pl-k">./</span>logging<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">296</span> [inlined]
 [<span class="pl-c1">31</span>] <span class="pl-c1">run_main_repl</span>(<span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>) at <span class="pl-k">./</span>client<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">335</span>
 [<span class="pl-c1">32</span>] <span class="pl-c1">exec_options</span>(<span class="pl-k">::</span><span class="pl-c1">Base.JLOptions</span>) at <span class="pl-k">./</span>client<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">247</span>
 [<span class="pl-c1">33</span>] <span class="pl-c1">_start</span>() at <span class="pl-k">./</span>client<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">427</span></pre></div>
<p dir="auto">I don't think, it is a huge bug, but still kind of important in every-day usage. Because this happens already at definition (after hitting <code class="notranslate">Enter</code>).</p>