We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1fc68a commit 48af34bCopy full SHA for 48af34b
lib/irb/input-method.rb
@@ -323,7 +323,7 @@ def auto_indent(&block)
323
return nil
324
end
325
cursor_pos_to_render, result, pointer = context.pop(3)
326
- return nil if result.nil? or pointer.nil?
+ return nil if result.nil? or pointer.nil? or pointer < 0
327
name = result[pointer]
328
name = IRB::InputCompletor.retrieve_completion_data(name, doc_namespace: true)
329
0 commit comments