summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script-beta/core/diagnostics/undefined-doc-class.lua25
-rw-r--r--script-beta/core/diagnostics/undefined-doc-name.lua25
2 files changed, 26 insertions, 24 deletions
diff --git a/script-beta/core/diagnostics/undefined-doc-class.lua b/script-beta/core/diagnostics/undefined-doc-class.lua
index 1fc19259..e008c7fd 100644
--- a/script-beta/core/diagnostics/undefined-doc-class.lua
+++ b/script-beta/core/diagnostics/undefined-doc-class.lua
@@ -6,18 +6,19 @@ local vm = require 'vm'
-- TODO
local builtin = {
- ['any'] = true,
- ['nil'] = true,
- ['void'] = true,
- ['boolean'] = true,
- ['number'] = true,
- ['integer'] = true,
- ['thread'] = true,
- ['table'] = true,
- ['file'] = true,
- ['string'] = true,
- ['userdata'] = true,
- ['function'] = true,
+ ['any'] = true,
+ ['nil'] = true,
+ ['void'] = true,
+ ['boolean'] = true,
+ ['number'] = true,
+ ['integer'] = true,
+ ['thread'] = true,
+ ['table'] = true,
+ ['file'] = true,
+ ['string'] = true,
+ ['userdata'] = true,
+ ['lightuserdata'] = true,
+ ['function'] = true,
}
return function (uri, callback)
diff --git a/script-beta/core/diagnostics/undefined-doc-name.lua b/script-beta/core/diagnostics/undefined-doc-name.lua
index 6a60fe65..8e832a2d 100644
--- a/script-beta/core/diagnostics/undefined-doc-name.lua
+++ b/script-beta/core/diagnostics/undefined-doc-name.lua
@@ -6,18 +6,19 @@ local vm = require 'vm'
-- TODO
local builtin = {
- ['any'] = true,
- ['nil'] = true,
- ['void'] = true,
- ['boolean'] = true,
- ['number'] = true,
- ['integer'] = true,
- ['thread'] = true,
- ['table'] = true,
- ['file'] = true,
- ['string'] = true,
- ['userdata'] = true,
- ['function'] = true,
+ ['any'] = true,
+ ['nil'] = true,
+ ['void'] = true,
+ ['boolean'] = true,
+ ['number'] = true,
+ ['integer'] = true,
+ ['thread'] = true,
+ ['table'] = true,
+ ['file'] = true,
+ ['string'] = true,
+ ['userdata'] = true,
+ ['lightuserdata'] = true,
+ ['function'] = true,
}
return function (uri, callback)