Skip to content

Don't use usingnamespace #7

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

Closed
alichraghi opened this issue Jan 28, 2025 · 1 comment
Closed

Don't use usingnamespace #7

alichraghi opened this issue Jan 28, 2025 · 1 comment

Comments

@alichraghi
Copy link
Member

alichraghi commented Jan 28, 2025

There's a single usage of usingnamespace in here

pub usingnamespace @import("zmath.zig");

usingnamespace isn't supported by incremental compilation and is likely going to be removed.
also the possible solutions are pretty trivial. e.g. we can move util.zig content into zmath.zig

@hazeycode
Copy link
Member

#14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants