aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/codes_from_doc.lua
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2026-01-15 17:20:24 +0800
committerLi Jin <dragon-fly@qq.com>2026-01-15 17:20:24 +0800
commit079f563e63d2d12db92db9226e248d5d5f064e3d (patch)
tree495e2de278356768e7d460fe89426195984acb0e /spec/outputs/codes_from_doc.lua
parentfced0c4f4101ad7c8d81432a0e8c45d38b72616c (diff)
downloadyuescript-079f563e63d2d12db92db9226e248d5d5f064e3d.tar.gz
yuescript-079f563e63d2d12db92db9226e248d5d5f064e3d.tar.bz2
yuescript-079f563e63d2d12db92db9226e248d5d5f064e3d.zip
Fixed globals importing order.
Diffstat (limited to 'spec/outputs/codes_from_doc.lua')
-rw-r--r--spec/outputs/codes_from_doc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/outputs/codes_from_doc.lua b/spec/outputs/codes_from_doc.lua
index 02f36d1..84dfc4e 100644
--- a/spec/outputs/codes_from_doc.lua
+++ b/spec/outputs/codes_from_doc.lua
@@ -409,8 +409,8 @@ local tb = {
409 } 409 }
410} 410}
411do 411do
412 local math = math
413 local print = print 412 local print = print
413 local math = math
414 print("hello") 414 print("hello")
415 math.random(3) 415 math.random(3)
416end 416end
@@ -2928,8 +2928,8 @@ local tb = {
2928 } 2928 }
2929} 2929}
2930do 2930do
2931 local math = math
2932 local print = print 2931 local print = print
2932 local math = math
2933 print("hello") 2933 print("hello")
2934 math.random(3) 2934 math.random(3)
2935end 2935end