It looks a lot like you're trying to index into a pointer object as though it were an array. Unlike in C, these are very different things – just as in C, a pointer has no idea how long it is, whereas an array object knows how long it is, so when you ask for the last element of it by writing a[end], you can get a correct answer. When you do that with a pointer, there's no way to know what the last element should be.
On Tue, Mar 4, 2014 at 2:03 AM, Ivar Nesje <[email protected]> wrote: > Maybe you defined My module.endof instead of Base.endof? >
