<p dir="auto">For <code class="notranslate">f</code> a function, type <code class="notranslate">typeof(f).&lt;TAB&gt;</code> and get:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; typeof(f).┌ Error: Error in the keymap
│   exception =
│    type does not have a definite number of fields
│    Stacktrace:
│     [1] error at ./error.jl:33 [inlined]
│     [2] fieldcount(::Any) at ./reflection.jl:578
│     [3] fieldnames(::DataType) at ./reflection.jl:156
│     [4] complete_symbol(::String, ::getfield(REPL.REPLCompletions, Symbol(&quot;##15#17&quot;))) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/REPLCompletions.jl:97
│     [5] completions(::String, ::Int64) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/REPLCompletions.jl:619
│     [6] complete_line(::REPL.REPLCompletionProvider, ::REPL.LineEdit.PromptState) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/REPL.jl:341
│     [7] complete_line(::REPL.LineEdit.PromptState, ::Int64) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/LineEdit.jl:310
│     [8] complete_line(::REPL.LineEdit.MIState) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/LineEdit.jl:301
│     [9] edit_tab(::REPL.LineEdit.MIState, ::Bool, ::Bool) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/LineEdit.jl:1911 (repeats 2 times)
│     [10] (::getfield(REPL.LineEdit, Symbol(&quot;##108#160&quot;)))(::REPL.LineEdit.MIState, ::REPL.LineEditREPL, ::Vararg{Any,N} where N) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/LineEdit.jl:1952
│     [11] top-level scope
│     [12] eval at ./boot.jl:309 [inlined]
│     [13] eval at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/LineEdit.jl:3 [inlined]
│     [14] (::getfield(REPL.LineEdit, Symbol(&quot;##27#28&quot;)){getfield(REPL.LineEdit, Symbol(&quot;##108#160&quot;)),String})(::REPL.LineEdit.MIState, ::REPL.LineEditREPL) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/LineEdit.jl:1301
│     [15] prompt!(::REPL.Terminals.TTYTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/LineEdit.jl:2317
│     [16] run_interface(::REPL.Terminals.TTYTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/LineEdit.jl:2218
│     [17] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/REPL.jl:1017
│     [18] run_repl(::REPL.LineEditREPL, ::getfield(Base, Symbol(&quot;##687#689&quot;))) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/REPL.jl:188
│     [19] (::getfield(Base, Symbol(&quot;##686#688&quot;)){Bool,Bool,Bool,Bool})(::Module) at ./client.jl:414
│     [20] (::getfield(Base, Symbol(&quot;#inner#4&quot;)){Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}},getfield(Base, Symbol(&quot;##686#688&quot;)){Bool,Bool,Bool,Bool},Tuple{Module}})() at ./essentials.jl:641
│     [21] #invokelatest#3 at ./essentials.jl:642 [inlined]
│     [22] invokelatest at ./essentials.jl:641 [inlined]
│     [23] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:398
│     [24] exec_options(::Base.JLOptions) at ./client.jl:338
│     [25] _start() at ./client.jl:455
└ @ REPL.LineEdit LineEdit.jl:2319"><pre class="notranslate"><code class="notranslate">julia&gt; typeof(f).┌ Error: Error in the keymap
│   exception =
│    type does not have a definite number of fields
│    Stacktrace:
│     [1] error at ./error.jl:33 [inlined]
│     [2] fieldcount(::Any) at ./reflection.jl:578
│     [3] fieldnames(::DataType) at ./reflection.jl:156
│     [4] complete_symbol(::String, ::getfield(REPL.REPLCompletions, Symbol("##15#17"))) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/REPLCompletions.jl:97
│     [5] completions(::String, ::Int64) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/REPLCompletions.jl:619
│     [6] complete_line(::REPL.REPLCompletionProvider, ::REPL.LineEdit.PromptState) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/REPL.jl:341
│     [7] complete_line(::REPL.LineEdit.PromptState, ::Int64) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/LineEdit.jl:310
│     [8] complete_line(::REPL.LineEdit.MIState) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/LineEdit.jl:301
│     [9] edit_tab(::REPL.LineEdit.MIState, ::Bool, ::Bool) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/LineEdit.jl:1911 (repeats 2 times)
│     [10] (::getfield(REPL.LineEdit, Symbol("##108#160")))(::REPL.LineEdit.MIState, ::REPL.LineEditREPL, ::Vararg{Any,N} where N) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/LineEdit.jl:1952
│     [11] top-level scope
│     [12] eval at ./boot.jl:309 [inlined]
│     [13] eval at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/LineEdit.jl:3 [inlined]
│     [14] (::getfield(REPL.LineEdit, Symbol("##27#28")){getfield(REPL.LineEdit, Symbol("##108#160")),String})(::REPL.LineEdit.MIState, ::REPL.LineEditREPL) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/LineEdit.jl:1301
│     [15] prompt!(::REPL.Terminals.TTYTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/LineEdit.jl:2317
│     [16] run_interface(::REPL.Terminals.TTYTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/LineEdit.jl:2218
│     [17] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/REPL.jl:1017
│     [18] run_repl(::REPL.LineEditREPL, ::getfield(Base, Symbol("##687#689"))) at /home/keno/julia-comparison/usr/share/julia/site/v0.7/REPL/src/REPL.jl:188
│     [19] (::getfield(Base, Symbol("##686#688")){Bool,Bool,Bool,Bool})(::Module) at ./client.jl:414
│     [20] (::getfield(Base, Symbol("#inner#4")){Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}},getfield(Base, Symbol("##686#688")){Bool,Bool,Bool,Bool},Tuple{Module}})() at ./essentials.jl:641
│     [21] #invokelatest#3 at ./essentials.jl:642 [inlined]
│     [22] invokelatest at ./essentials.jl:641 [inlined]
│     [23] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:398
│     [24] exec_options(::Base.JLOptions) at ./client.jl:338
│     [25] _start() at ./client.jl:455
└ @ REPL.LineEdit LineEdit.jl:2319
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; typeof(+).&lt;tab&gt;
┌ Error: Error in the keymap                                                                                            
│   exception =                                                                                                                               
│    ArgumentError: type does not have a definite number of fields                                                                            
│    Stacktrace:                                                                                                                             
│     [1] fieldcount(::Any) at ./reflection.jl:682                                                                                          
│     [2] fieldnames(::DataType) at ./reflection.jl:172                                                                                      
│     [3] complete_symbol(::String, ::getfield(REPL.REPLCompletions, Symbol(&quot;##21#25&quot;)), ::Module) at /data/vtjnash/julia/usr/share/julia/stdlib/v1.3/REPL/src/REPLCompletions
.jl:157                                                                                                                                            
│     [4] completions(::String, ::Int64, ::Module) at /data/vtjnash/julia/usr/share/julia/stdlib/v1.3/REPL/src/REPLCompletions.jl:705         
│     [5] completions(::String, ::Int64) at /data/vtjnash/julia/usr/share/julia/stdlib/v1.3/REPL/src/REPLCompletions.jl:575                    
│     [6] complete_line(::REPL.REPLCompletionProvider, ::Any) at /data/vtjnash/julia/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:362               
│     [7] complete_line(::REPL.LineEdit.PromptState, ::Any) at /data/vtjnash/julia/usr/share/julia/stdlib/v1.3/REPL/src/LineEdit.jl:324   
│     [8] complete_line(::REPL.LineEdit.MIState) at /data/vtjnash/julia/usr/share/julia/stdlib/v1.3/REPL/src/LineEdit.jl:315             
│     [9] edit_tab(::REPL.LineEdit.MIState, ::Any, ::Any) at /data/vtjnash/julia/usr/share/julia/stdlib/v1.3/REPL/src/LineEdit.jl:1987 (repeats 2 times)"><pre class="notranslate"><code class="notranslate">julia&gt; typeof(+).&lt;tab&gt;
┌ Error: Error in the keymap                                                                                            
│   exception =                                                                                                                               
│    ArgumentError: type does not have a definite number of fields                                                                            
│    Stacktrace:                                                                                                                             
│     [1] fieldcount(::Any) at ./reflection.jl:682                                                                                          
│     [2] fieldnames(::DataType) at ./reflection.jl:172                                                                                      
│     [3] complete_symbol(::String, ::getfield(REPL.REPLCompletions, Symbol("##21#25")), ::Module) at /data/vtjnash/julia/usr/share/julia/stdlib/v1.3/REPL/src/REPLCompletions
.jl:157                                                                                                                                            
│     [4] completions(::String, ::Int64, ::Module) at /data/vtjnash/julia/usr/share/julia/stdlib/v1.3/REPL/src/REPLCompletions.jl:705         
│     [5] completions(::String, ::Int64) at /data/vtjnash/julia/usr/share/julia/stdlib/v1.3/REPL/src/REPLCompletions.jl:575                    
│     [6] complete_line(::REPL.REPLCompletionProvider, ::Any) at /data/vtjnash/julia/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:362               
│     [7] complete_line(::REPL.LineEdit.PromptState, ::Any) at /data/vtjnash/julia/usr/share/julia/stdlib/v1.3/REPL/src/LineEdit.jl:324   
│     [8] complete_line(::REPL.LineEdit.MIState) at /data/vtjnash/julia/usr/share/julia/stdlib/v1.3/REPL/src/LineEdit.jl:315             
│     [9] edit_tab(::REPL.LineEdit.MIState, ::Any, ::Any) at /data/vtjnash/julia/usr/share/julia/stdlib/v1.3/REPL/src/LineEdit.jl:1987 (repeats 2 times)
</code></pre></div>