-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stage2 usingnamespace with private decl causes ambiguous reference #13062
Comments
working as intended imo |
Desired or not, it's surprising that |
oh no, you're right. that is a bug. |
it should only be an error if |
|
@Vexu - that's actually how I hit this bug. It was in a separate file, and I was confused how a private const in one file used as a mixin was affected by the file that consumed it. |
Was |
Zig Version
0.10.0-dev.4217+9d8cdb855
Steps to Reproduce
Expected Behavior
Compiles
Actual Behavior
The text was updated successfully, but these errors were encountered: