Nathan Daly

Results 286 comments of Nathan Daly

> > `Mocking.apply` could set a global / ScopedValue `PATCH_ENV_ACTIVE::Bool` that can be checked alongside `activated()` to avoid calling `get_alternate` at all > > I'm skeptical we can improve performance...

Oh, hang on. I might be wrong about this. I've forgotten how this package works. You don't `@mock` the function _definition_, you mock its callsites... So there's nothing wrong with...

😬 no, i don't have much of an idea about that. I'm not really clear on why it would be harder, even. Can you share more info?

Here's a screenshot of the false positive error

Looks to have some failures on `nightly`, but I assume they're unrelated? Can you confirm?: ``` macro preserves comments 1: Test Failed at /home/runner/work/AutoHashEquals.jl/AutoHashEquals.jl/test/runtests.jl:79 Expression: plain(#= /home/runner/work/AutoHashEquals.jl/AutoHashEquals.jl/test/runtests.jl:79 =# @doc(T23)) ==...

:) Thanks for the PR, Kristoffer!

Okay, I confirmed the nightly tests fail independent of this PR: https://github.com/JuliaServices/AutoHashEquals.jl/pull/53. So this is good to merge.

Registering new version: https://github.com/JuliaServices/AutoHashEquals.jl/commit/1956b026c43ff4f10cbe715816dc3ca2fb7eea89#commitcomment-147443431

Would it be helpful to have another MRE?