moonscript icon indicating copy to clipboard operation
moonscript copied to clipboard

Code coverage produces no output

Open Sasszem opened this issue 6 years ago • 0 comments

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.

Sasszem avatar Jun 09 '19 15:06 Sasszem