coverage: identify hits for empty fallbacks #9458
Labels
Cmd-forge-coverage
Command: forge coverage
T-feature
Type: feature
T-to-investigate
Type: to investigate
Component
Forge
Describe the feature you would like
Currently we can correctly identify hits for empty functions, but not constructors, fallbacks, or receives.
This means that if we were to stop ignoring them when empty, we would generate a report with no hits registered even if they did happen.
Additional context
constructor() payable {}
does not work correctly with code coverage #9270The text was updated successfully, but these errors were encountered: