Skip to content

Commit

Permalink
fix: bug in lua.lua example file kitchen-sink (#5258)
Browse files Browse the repository at this point in the history
Fix bug in example
  • Loading branch information
first-leon committed Jul 17, 2023
1 parent 31bbd6a commit 6549570
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/kitchen-sink/docs/lua.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ print([===[
--[=[--
table.maxn is deprecated, use # instead.
--]=]--
print(table.maxn{1,2,[4]=4,[8]=8) -- outputs 8 instead of 2
print(table.maxn{1,2,[4]=4,[8]=8}) -- outputs 8 instead of 2

print(5 --[[ blah ]])
print(5 --[[ blah ]])

0 comments on commit 6549570

Please sign in to comment.