Closed sscherfke closed 1 year ago
Interesting, will take a look!
This should be fixed on main
. I plan on doing a little more polish and releasing in the next few days. Mind retesting against main
until then?
I've added your case to the test suite.
Thanks for the quick fix :)
One more question: Will x()
only be called once and the same result used for both, y()
and func()
? Like with pytest fixtures?
Only once! The same result (the same local variable, in fact) will be passed to all dependents.
Fix released
Incant fails when the invoked function uses a dependency, that is already used by another dependency:
It does not matter whether I use
register_by_name
orregister_by_type
.Python is 3.10, incant is 22.1.0.