mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Serialization] Prevent using declarations from being serialized
This commit is contained in:
@@ -6976,7 +6976,7 @@ void Serializer::writeAST(ModuleOrSourceFile DC) {
|
||||
|
||||
for (auto D : fileDecls) {
|
||||
if (isa<ImportDecl>(D) || isa<MacroExpansionDecl>(D) ||
|
||||
isa<TopLevelCodeDecl>(D)) {
|
||||
isa<TopLevelCodeDecl>(D) || isa<UsingDecl>(D)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user