WoWInterface - View Single Post - Why does tinsert work and table.insert not
View Single Post
11-10-19, 04:54 AM   #3
A Chromatic Dragonspawn
Yukyuk's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2015
Posts: 176
Originally Posted by Ailae View Post
You're defining a variable table at row 8 in your code, overwriting the default table implementation.

Lua Code:
  1. table.insert({},1) -- works
  2. table = {}
  3. table.insert({},1) -- nil error
Of course

Thank you Ailae
Better to fail then never have tried at all.
  Reply With Quote