Skip to content

Overcounting unreachable lines #70

Description

@pvdrz

Hi, we noticed that the a24dcf8 commit had an unintended effect: Some lines that were uncovered before are being marked as covered now even though it is impossible to run them.

Right now I don't have a minimal example but we've noticed that the precondition_check here is being marked as fully covered even though there is a non-unwinding panic on it. This panic cannot be run via the test suite as it is not possible to catch the panic with #[should_panic] nor any other mechanism.

I'll try working on a minimal example in the meantime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions