Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Commit 998006b

Browse files
authored
Merge pull request #3 from xionglikarl/master
bugfix:solve_globals中一个变量错误
2 parents e10ed39 + 820a069 commit 998006b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reload.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ local function slove_globals(all)
511511
local invalid
512512
if getmetatable(v) == "GLOBAL" then
513513
local G = _G
514-
for w in string.gmatch(k, "[_%a]%w*") do
514+
for w in string.gmatch(path, "[_%a]%w*") do
515515
if G == nil then
516516
invalid = true
517517
break

0 commit comments

Comments
 (0)