diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-10-10 19:14:04 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-10-10 19:14:04 +0800 |
commit | f8ae93feb7be0faba81ce72795b74bc4ec4dfe03 (patch) | |
tree | 23bf0f8347f200b2274bbec3f77a1e76960a5500 /server-beta/src/core/number.lua | |
parent | f233384eba3ef7324333e12d0ba0b7e6bfc2eddb (diff) | |
download | lua-language-server-f8ae93feb7be0faba81ce72795b74bc4ec4dfe03.zip |
支持 __index
Diffstat (limited to 'server-beta/src/core/number.lua')
-rw-r--r-- | server-beta/src/core/number.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server-beta/src/core/number.lua b/server-beta/src/core/number.lua index 15aef9e5..07a67c51 100644 --- a/server-beta/src/core/number.lua +++ b/server-beta/src/core/number.lua @@ -36,4 +36,8 @@ function m:ref(source, callback) end) end +function m:value(source, callback) + callback(source) +end + return m |