Skip to content

Option to register a term globally to not be adapted #10

@parsonsmatt

Description

@parsonsmatt

We use require-callstack. Due to the implicit param in provideCallStack :: (RequireCallStackImpl => r) -> r, dekking fails to adapt it correctly.

I'd like to be able to tell dekking to have an exception for a function name. That would allow it to not adapt error in our codebase, which would work nicely (sort of? probably not great to lose whether or not we test error branches)

Alternatively, I can edit error's type signature depending on the coverage flag being enabled.. which may work around. Still - would it be feasible to add the logic I describe

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