stage2: add error for private decls accessed from other files

This commit is contained in:
jacob gw authored and Andrew Kelley committed 2021-04-09 10:05:15 -07:00
1 parent c6791d87d4
commit afe5862111
3 files changed
+43 -3

No files matched your search

+1
View File
@@ -3550,6 +3550,7 @@ fn semaContainerFn(
mod.comp.work_queue.writeItemAssumeCapacity(.{ .analyze_decl = new_decl });
}
}
new_decl.is_pub = fn_proto.visib_token != null;
}
}