Open daurnimator opened 5 years ago
Could you provide more context around the error (ideally, a source file that compiled with tlc
triggers it).
I dug into it a little more: the issue was caused by me providing a non-seekable file to tlc
. When it tried to get the source line it fails as it can't re-read the file.
Thanks! Can you pull from the branch referenced in this issue to check if it fixes your issue?
Indeed your branch seems to fix things! I tested with the simple:
./tlc -o /dev/stdout <(echo 'local hi:number = "foos"')
https://github.com/andremm/typedlua/blob/002f983936cfb08cbebe52ff0330e2d68b9ece9b/typedlua/tlchecker.lua#L2009