summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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