Skip to content

Nested @switches don't work right #53

Description

@brondsem

If a function has @switches(foo=False) and calls another function which also has that decorator, the patches get messed up and you can end up with the wrong value. Didn't dig into it much, but in this case was getting a truthy value when it should've been False.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions