Tables as indices of tables result in an error

Sep 30, 2014 at 3:59 PM
> a = {}
> b = {}
> a[b] = true
>
IndexOutOfRangeException: Index was outside the bounds of the array.
 at line(LuaGlobal _G) line line:3:3
just me porting some more code, this time it checks if a table is already passed for some serialization code i'm porting :)

Lua result:
$ lua
Lua 5.2.3  Copyright (C) 1994-2013 Lua.org, PUC-Rio
> a = {}
> b = {}
> a[b] = true
>
> = a[b]
true
Coordinator
Sep 30, 2014 at 7:01 PM
Thank you,
there is one german word, that describes, this kind of error very good > peinlich.

I will release the version asap.