Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REPL completion error on named tuple #27580

Closed
haampie opened this issue Jun 14, 2018 · 1 comment
Closed

REPL completion error on named tuple #27580

haampie opened this issue Jun 14, 2018 · 1 comment
Labels
REPL Julia's REPL (Read Eval Print Loop)

Comments

@haampie
Copy link
Contributor

haampie commented Jun 14, 2018

When trying to tab after t[ there's the following error:

julia> t = (a = 1, b = 2)
julia> t[┌ Error: Error in the keymap
│   exception =
│    MethodError: no method matching iterate(::Nothing)
│    Closest candidates are:
│      iterate(::Any) at essentials.jl:831
│      iterate(::Any, ::Any) at essentials.jl:826
│      iterate(::Core.SimpleVector) at essentials.jl:562
│      ...
│    Stacktrace:
│     [1] start(::Nothing) at ./essentials.jl:853
│     [2] iterate at ./essentials.jl:831 [inlined]
│     [3] first at ./abstractarray.jl:287 [inlined]
│     [4] dict_identifier_key(::String, ::Symbol) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPLCompletions.jl:472

on Julia 0.7 alpha.

@JeffBezanson JeffBezanson added the REPL Julia's REPL (Read Eval Print Loop) label Jun 14, 2018
@simonbyrne
Copy link
Contributor

Looks like this was fixed in #28352.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

No branches or pull requests

3 participants