Created
September 20, 2019 02:45
-
-
Save mathias/5e33715865966924f0485baecc115b80 to your computer and use it in GitHub Desktop.
lua error line numbers?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ fennel lore.fnl | |
lore.fnl:91: attempt to call a table value | |
stack traceback: | |
lore.fnl:58: in function 'step' | |
lore.fnl:84: in function 'i_generate_events' | |
lore.fnl:90: in function 'generate_events' | |
lore.fnl:122: in main chunk | |
[C]: in function 'xpcall' | |
/usr/local/lib/luarocks/rocks-5.3/fennel/0.2.1-2/bin/fennel:34: in function 'dosafe' | |
/usr/local/lib/luarocks/rocks-5.3/fennel/0.2.1-2/bin/fennel:130: in main chunk | |
[C]: in ? | |
$ fennel --compile lore.fnl > lore.lua | |
$ lua lore.lua | |
lua: lore.lua:91: attempt to call a table value | |
stack traceback: | |
lore.lua:91: in upvalue 'step' | |
lore.lua:132: in upvalue 'i_generate_events' | |
lore.lua:142: in local 'generate_events' | |
lore.lua:169: in main chunk | |
[C]: in ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment