moonscript
moonscript copied to clipboard
Code coverage produces no output
When I try to execute the sample usage of the coverage tool, I only see two lines appearing:
starting coverage
hello
I have done some investigation, and it turns out, the coverage tool only gets =(tail call) as source from debug.getinfo 2, "S" in function CodeCoverage\process_line, no matter what the filename(s) are.
Requiring another file causes the required files stats also being collected with the name =(tail call).
I am using Lua 5.1.5 with luarocks 2.4.2 and have MoonScript version 0.5.0 installed.