Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.9.2
-
Fix Version/s: 0.9.2
-
Component/s: Command line tools
-
Labels:None
-
Environment:Windows Server 2003
-
Number of attachments :
Description
Steps to reproduce
- Launch a cmd or powershell window
- Start Booish
- Type /help and press <enter>
- Type a single character
- Press BackSpace
- Note Exception and JIT Exception Handling
Exception Stack
Unhandled Exception: System.ArgumentOutOfRangeException: Index was out of range.
Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Text.StringBuilder.Remove(Int32 startIndex, Int32 length)
at Boo.Lang.Interpreter.InteractiveInterpreter2.Delete(Int32 count)
at Boo.Lang.Interpreter.InteractiveInterpreter2.ConsoleLoopEval()
at Booish2Module.Main(String[] argv)
Example Session
H:\>booish
Cannot load history from 'C:\Documents and Settings\scott.markwell\Local Setting
s\Application Data\booish_history'
Welcome to booish, an interactive interpreter for the boo programming language.
Running boo 0.9.2.3383 on CLR 2.0.50727.3053.
Enter boo code in the prompt below (or type /help).
>>>/help
The following builtin functions are available :
dir(type) : returns the members of a type
describe(type) : describe a type as boo code
globals() or /g : returns names of all variables known to interpreter
load(file) or /l file : evals an external boo file
save(file) or /s file : writes your current booish session into file
quit() or /q : exits the interpreter
>>>>>>d
Unhandled Exception: System.ArgumentOutOfRangeException: Index was out of range.
Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Text.StringBuilder.Remove(Int32 startIndex, Int32 length)
at Boo.Lang.Interpreter.InteractiveInterpreter2.Delete(Int32 count)
at Boo.Lang.Interpreter.InteractiveInterpreter2.ConsoleLoopEval()
at Booish2Module.Main(String[] argv)