Skip to content

Nested @switches don't work right #53

@brondsem

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.

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