Closed Rqnsom closed 2 weeks ago
Thanks for reporting this @Rqnsom. We will fix it soon.
FYI: This is due to traces for cross-module inline code being wrongly mapped to corresponding lines in the using module. Will first fix to disable this from happening, but add a flag to include the inline code coverage info (which will be more expensive to gather).
We know that coverage for inline functions is broken (#9154, #12919) but not that this crashes the tool. Perhaps for compiler v2, we can finally fix this.
π Bug
While doing some research at Eiger for the extension of the move-spec-test project, I found a problem in the
aptos move coverage
command.To reproduce
Code snippet to reproduce
Stack trace/error message
Expected Behavior
The command shouldn't have crashed; instead, a coverage report for the
features
module should have been printed out.System information
Additional context
N/A