Hi!
I noticed a bug with determining the place of the error.
He appears when:
1) The error occurs in standard library function.
2) Result of this function returned directly.
Code to reproduce:
function someFunc()
return type() -- or error('some message')
end
someFunc()
My output:
Error: some/path/to/file.lua:5: bad argument #1 to 'someFunc' (value
expected)
Sorry for my bad English.