Lua: index expected, got nil
snippet in lua

Lua: index expected, got nil

user7509

path[index] = {l[i], 0}