SabineWren / wow-api-type-definitions

Lua type definitions for WoW 1.12.1
GNU General Public License v3.0
6 stars 2 forks source link

Change Lua version to 5.0 #4

Closed refaim closed 2 months ago

refaim commented 2 months ago

WoW 1.12.1 uses Lua 5.0 (see patch notes for the 2.0 patch)

SabineWren commented 2 months ago

You are correct! arg works within vararg functions, but ... doesn't.

However, LuaLS doesn't support < 5.1. I added a note to the readme about it b3f8b7d21117817e8358cdf0c3d07b2415a55982.