acutelanguage/caribou — Issue #5: Io Generator doesn't like push with 0 argument
Author: jeremytregunna
Created: 2011-10-21 20:06:04+00:00
State: open

Today testing the generator, I noticed this bug when using this (simplified) code:

```io
g := Generator clone
g push(BigNum with("0"))
g binary
```

Results in an exception being thrown like this:

Exception: nil does not respond to 'exclusiveSlice'
---------
nil exclusiveSlice Generator.io 22
Sequence .. Generator.io 22
Opcode binary [unlabeled] 0
List mapInPlace [unlabeled] 0
List map Generator.io 41
Call relayStopStatus A4_Exception.io 24
Call delegateToMethod A0_List.io 176
Generator binary Command Line 1

The test program was software multiplication, but I have narrowed it down to pushing 0 onto the stack.