mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
stage2: add error for private decls accessed from other files
This commit is contained in:
1 parent
c6791d87d4
commit
afe5862111
3 files changed
+43
-3
No files matched your search
@@ -3550,6 +3550,7 @@ fn semaContainerFn(
|
||||
mod.comp.work_queue.writeItemAssumeCapacity(.{ .analyze_decl = new_decl });
|
||||
}
|
||||
}
|
||||
new_decl.is_pub = fn_proto.visib_token != null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user