You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand it's the issue for you (and probably for many others), but to be honest, I wouldn't personally introduce package name shadowing in the first place. Shadowing is unsafe on it's own and may lead to bugs eventually.
@tompaz3 I agree, but unfortunately widely used packages like e.g. docker seem to shadow their package names quite often. Right now this probably breaks a lot of projects using mockgen.
@rageagainsthepc Ah, I see. It's still doable, but not without the extra hassle (like replacing it with custom consumer-side interface).
Definitely agree that this is a breaking change, anyway.
Actual behavior A clear and concise description of what the bug is.
Compile error occurs when an arg name is same as a package name.
Expected behavior A clear and concise description of what you expected to
happen.
Avoid a conflict between an arg name and a package name.
To Reproduce Steps to reproduce the behavior
Additional Information
Triage Notes for the Maintainers
The text was updated successfully, but these errors were encountered: