[Nickle]initializer bug

Bart Massey nickle@nickle.org
Fri, 16 Aug 2002 01:28:06 -0700


Nickle doesn't handle repeated initializers for zero length
arrays correctly...

  bart @ ./nickle
  > int[0] a = {};
  > int[0] a = {0...};
  Unhandled exception "invalid_array_bounds"
	  "Array index out of bounds"
	  [0] {}
	  0
  >

I can see where the code in execute.c is going wrong, but
not what the right fix is.  Yes, this case is important :-(.

	Bart