stage2: add error for private decls accessed from other files
This commit is contained in:
@@ -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