summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-20 16:15:23 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-20 16:15:23 +0800
commit56153ba9957e7a877a0f292c39cb434eeee87045 (patch)
tree0528eaf4e3fe6509d27a73758cd09c52c1de214c
parent88b61185ccc223df259dcb2ae5b35177d9572b38 (diff)
downloadlua-language-server-56153ba9957e7a877a0f292c39cb434eeee87045.zip
remove alias of `table*`
-rw-r--r--meta/template/bit.lua2
-rw-r--r--meta/template/bit32.lua2
-rw-r--r--meta/template/coroutine.lua2
-rw-r--r--meta/template/debug.lua2
-rw-r--r--meta/template/ffi.lua2
-rw-r--r--meta/template/io.lua2
-rw-r--r--meta/template/jit.lua2
-rw-r--r--meta/template/math.lua2
-rw-r--r--meta/template/os.lua2
-rw-r--r--meta/template/package.lua2
-rw-r--r--meta/template/string.lua2
-rw-r--r--meta/template/table.lua2
-rw-r--r--meta/template/utf8.lua2
13 files changed, 0 insertions, 26 deletions
diff --git a/meta/template/bit.lua b/meta/template/bit.lua
index 9da3e677..d7cfd302 100644
--- a/meta/template/bit.lua
+++ b/meta/template/bit.lua
@@ -5,8 +5,6 @@
---@class bitlib
bit = {}
----@alias bit* bitlib
-
---@param x integer
---@return integer y
function bit.tobit(x) end
diff --git a/meta/template/bit32.lua b/meta/template/bit32.lua
index d55df7f2..85bd04f1 100644
--- a/meta/template/bit32.lua
+++ b/meta/template/bit32.lua
@@ -6,8 +6,6 @@
---@class bit32lib
bit32 = {}
----@alias bit32* bit32lib
-
---#DES 'bit32.arshift'
---@param x integer
---@param disp integer
diff --git a/meta/template/coroutine.lua b/meta/template/coroutine.lua
index accd814b..804c84c6 100644
--- a/meta/template/coroutine.lua
+++ b/meta/template/coroutine.lua
@@ -4,8 +4,6 @@
---@class coroutinelib
coroutine = {}
----@alias coroutine* coroutinelib
-
---#DES 'coroutine.create'
---@param f function
---@return thread
diff --git a/meta/template/debug.lua b/meta/template/debug.lua
index 53842038..224c06b3 100644
--- a/meta/template/debug.lua
+++ b/meta/template/debug.lua
@@ -4,8 +4,6 @@
---@class debuglib
debug = {}
----@alias debug* debuglib
-
---@class debuginfo
---@field name string
---@field namewhat string
diff --git a/meta/template/ffi.lua b/meta/template/ffi.lua
index e3a09ea1..97dd4bc2 100644
--- a/meta/template/ffi.lua
+++ b/meta/template/ffi.lua
@@ -20,8 +20,6 @@ local cb
---@field arch string
local ffi = {}
----@alias ffi* ffilib
-
---@param def string
function ffi.cdef(def) end
diff --git a/meta/template/io.lua b/meta/template/io.lua
index 76e5a7f6..bc47f56d 100644
--- a/meta/template/io.lua
+++ b/meta/template/io.lua
@@ -10,8 +10,6 @@
---@field stderr file*
io = {}
----@alias io* iolib
-
---@alias openmode
---|>'"r"' # ---#DESTAIL 'openmode.r'
---| '"w"' # ---#DESTAIL 'openmode.w'
diff --git a/meta/template/jit.lua b/meta/template/jit.lua
index ceff1530..f5571cb7 100644
--- a/meta/template/jit.lua
+++ b/meta/template/jit.lua
@@ -9,8 +9,6 @@
---@field arch string
jit = {}
----@alias jit* jitlib
-
---@overload fun()
---@param func function|boolean
---@param recursive? boolean
diff --git a/meta/template/math.lua b/meta/template/math.lua
index da028044..dc895bb7 100644
--- a/meta/template/math.lua
+++ b/meta/template/math.lua
@@ -14,8 +14,6 @@
---@field pi number
math = {}
----@alias math* mathlib
-
---#DES 'math.abs'
---@param x number
---@return number
diff --git a/meta/template/os.lua b/meta/template/os.lua
index 258ed691..99b29f6a 100644
--- a/meta/template/os.lua
+++ b/meta/template/os.lua
@@ -4,8 +4,6 @@
---@class oslib
os = {}
----@alias os* oslib
-
---#DES 'os.clock'
---@return number
function os.clock() end
diff --git a/meta/template/package.lua b/meta/template/package.lua
index 18ab3627..ae7def31 100644
--- a/meta/template/package.lua
+++ b/meta/template/package.lua
@@ -27,8 +27,6 @@ function require(modname) end
---@field preload table
package = {}
----@alias package* packagelib
-
---@version <5.1
---#DES 'package.loaders'
package.loaders = {}
diff --git a/meta/template/string.lua b/meta/template/string.lua
index a3bec731..81bd1996 100644
--- a/meta/template/string.lua
+++ b/meta/template/string.lua
@@ -4,8 +4,6 @@
---@class stringlib
string = {}
----@alias string* stringlib
-
---#DES 'string.byte'
---@param s string
---@param i? integer
diff --git a/meta/template/table.lua b/meta/template/table.lua
index a5f6a286..c0bdac14 100644
--- a/meta/template/table.lua
+++ b/meta/template/table.lua
@@ -4,8 +4,6 @@
---@class tablelib
table = {}
----@alias table* tablelib
-
---#DES 'table.concat'
---@param list table
---@param sep? string
diff --git a/meta/template/utf8.lua b/meta/template/utf8.lua
index a132da9e..43ce9961 100644
--- a/meta/template/utf8.lua
+++ b/meta/template/utf8.lua
@@ -8,8 +8,6 @@
---@field charpattern string
utf8 = {}
----@alias utf8* utf8lib
-
---#DES 'utf8.char'
---@param code integer
---@vararg integer