Skip to content

Instantly share code, notes, and snippets.

@sapier
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sapier/8830371 to your computer and use it in GitHub Desktop.
Save sapier/8830371 to your computer and use it in GitHub Desktop.
../LuaJIT-2.0.0-beta6/src/luajit test.lua
1 a
2 b
3 c
table: 0x41e287b0 tval
../LuaJIT-2.0.0-beta6/src/luajit: attempt to index a string value
stack traceback:
[C]: in function 'decode'
test.lua:29: in main chunk
[C]: ?
################################################################################
################################################################################
################################################################################
../LuaJIT-2.0.0-beta7/src/luajit test.lua
1 a
2 b
3 c
table: 0x41a8e8c8 tval
../LuaJIT-2.0.0-beta7/src/luajit: attempt to index a string value
stack traceback:
[C]: in function 'decode'
test.lua:29: in main chunk
[C]: ?
################################################################################
################################################################################
################################################################################
../LuaJIT-2.0.0-beta8/src/luajit test.lua
1 a
2 b
3 c
table: 0x418c0b70 tval
constant table: 'print'
1 1
2 a
b b
---
1 1
2 a
b b
---
1 1
2 a
b b
"�\0"
--------------------------------------------------------------------------------
Test completed successfull !
--------------------------------------------------------------------------------
################################################################################
################################################################################
################################################################################
/usr/bin/luajit-2.0.0-beta9 test.lua
1 a
2 b
3 c
table: 0x41507d38 tval
constant table: 'print'
1 1
2 a
b b
---
1 1
2 a
b b
---
1 1
2 a
b b
"�\0"
--------------------------------------------------------------------------------
Test completed successfull !
--------------------------------------------------------------------------------
################################################################################
################################################################################
################################################################################
../LuaJIT-2.0.1/src/luajit test.lua
1 a
2 b
3 c
table: 0x402c13b8 tval
constant table: 'print'
1 1
2 a
b b
---
1 1
2 a
b b
---
1 1
2 a
b b
"�\0"
--------------------------------------------------------------------------------
Test completed successfull !
--------------------------------------------------------------------------------
################################################################################
################################################################################
################################################################################
../LuaJIT-2.0.2/src/luajit test.lua
1 a
2 b
3 c
table: 0x406233b8 tval
constant table: 'print'
1 1
2 a
b b
---
1 1
2 a
b b
---
1 1
2 a
b b
"�\0"
--------------------------------------------------------------------------------
Test completed successfull !
--------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment