pry/pry — Issue #332: _in_ and _out_ get out of sync on a command error exception
Author: banister
Created: 2011-11-06 11:16:52+00:00
State: open
Labels: bug

```
[2] pry(main)> 5
=> 5
[3] pry(main)> _in_[2]
=> "5\n"
[4] pry(main)> _out_[2]
=> 5
[5] pry(main)> # _in_ and _out_ are in sync above ^;
[6] pry(main)> $ blah
Error: The method 'blah' could not be found. Type `show-method --help` for help.
[7] pry(main)> 6
=> 6
[8] pry(main)> _in_[7]
=> "6\n"
[9] pry(main)> _out_[7]
=> "6\n"
[10] pry(main)> _out_[6]
=> 6
[11] pry(main)> # _in_ and _out_ are now out of sync it looks like the command with the error ($ blah) caused a nil line to go into _in_ but no corresponding line into _out_;
```