summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-19 11:54:38 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-19 11:54:38 +0800
commite85f89361d4699e7d03064cd45fcad3002b5128b (patch)
tree8e7095db38908be7c6c36963d492bb2fd15a5628
parent1a65fe75ed8965bbfc6ed20691ceb9a803b55d7b (diff)
downloadlua-language-server-e85f89361d4699e7d03064cd45fcad3002b5128b.zip
fix #395 missed global `bit` in `LuaJIT`
-rw-r--r--changelog.md1
-rw-r--r--meta/template/bit.lua2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.md b/changelog.md
index 1c0ed509..8cf548d5 100644
--- a/changelog.md
+++ b/changelog.md
@@ -4,6 +4,7 @@
* `NEW` file encoding supports `ansi`
* `CHG` rename `table*` to `tablelib`
* `FIX` missed syntax error `f() = 1`
+* `FIX` missed global `bit` in `LuaJIT`
## 1.15.1
`2021-2-18`
diff --git a/meta/template/bit.lua b/meta/template/bit.lua
index eea85a20..9da3e677 100644
--- a/meta/template/bit.lua
+++ b/meta/template/bit.lua
@@ -3,7 +3,7 @@
---@version JIT
---@class bitlib
-local bit = {}
+bit = {}
---@alias bit* bitlib