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: Tab completion for a type throws a MethodError #16042

Closed
Tetralux opened this issue Apr 25, 2016 · 2 comments
Closed

REPL: Tab completion for a type throws a MethodError #16042

Tetralux opened this issue Apr 25, 2016 · 2 comments
Assignees

Comments

@Tetralux
Copy link
Contributor

On current master, the tab-completion for types does this:

julia> type T; x; end

julia> T(WARNING: Caught an exception in the keymap:
ERROR: MethodError: no method matching visit(::Base.REPLCompletions.##9#10, ::Array{Any,1})
Closest candidates are:
  visit(::Any, ::MethodTable)
  visit(::Any, ::TypeMapLevel)
  visit(::Any, ::TypeMapEntry)
ERROR: syntax: incomplete: premature end of input
 in eval at .\boot.jl:236
@vtjnash
Copy link
Sponsor Member

vtjnash commented Apr 25, 2016

error occurs at

Base.visit(methods(func)) do method
. I think Jeff was working on a fix (making methods always return an array)?

@JeffBezanson
Copy link
Sponsor Member

Yes I'll work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants