audunhalland / unimock

A versatile and developer-friendly trait mocking library
MIT License
71 stars 3 forks source link

Fix private type leak #59

Closed wackazong closed 3 months ago

audunhalland commented 3 months ago

Alternative fix up at https://github.com/audunhalland/unimock/pull/60

audunhalland commented 3 months ago

I prefer my fix that's more fundamental, the bug is that the private type is referenced in the signature in the first place, but it doesn't have to be.

wackazong commented 3 months ago

Of course, you have a much broader view on this. Thanks for the quick fix!