Shopify / go-lua

A Lua VM in Go
MIT License
3.13k stars 190 forks source link

Implement debug.getInfo() #89

Open drauschenbach opened 7 years ago

drauschenbach commented 7 years ago

This issue is a marker indicating that debug.getInfo() is not implemented yet.

WillianBR commented 5 months ago

As you have stated, the call debug.getInfo() is missing. So, How can I get the line number of a error?

Let's imagine there is a "*.lua" file I must run from GO. And this script has a syntax error. The GO call to DoFile() will fail. There's any approach I can use to get the exact line number where the error was found?

This can be helpfull to inform the user about the problem!

Thank you in advance!