Keno / REPL.jl

Pure-julia REPL implementation
Other
3 stars 4 forks source link

BoundsError in reverse search #17

Closed ViralBShah closed 10 years ago

ViralBShah commented 10 years ago

First do these to get them into the history:

a = rand(100)
a.*a

Then, restart julia, and do <Ctrl-r>a and it gets a BoundsError and exits.

(reverse-i-search)`a ': ERROR: BoundsError() 
 in history_search at /Users/viral/.julia/REPL/src/REPL.jl:242
 in update_display_buffer at /Users/viral/.julia/Readline/src/Readline.jl:698
 in keymap_func at /Users/viral/.julia/Readline/src/Readline.jl:652
 in prompt! at /Users/viral/.julia/Readline/src/Readline.jl:940
 in run_interface at /Users/viral/.julia/Readline/src/Readline.jl:922
 in run_repl at /Users/viral/.julia/REPL/src/REPL.jl:478
 in anonymous at no file:32
 in include_from_node1 at loading.jl:120
while loading /Users/viral/.julia/REPL/scripts/repl.jl, in expression starting on line 7
Keno commented 10 years ago

I fixed this a couple of minutes ago. Can you verify?

ViralBShah commented 10 years ago

Works.