mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Serialization] Give swiftdocs a stable version
We're committing to this as a forwards-compatible format, and in most cases probably backwards-compatible as well!
This commit is contained in:
@@ -631,6 +631,9 @@ public:
|
||||
theModule.reset(new ModuleFile(std::move(moduleInputBuffer),
|
||||
std::move(moduleDocInputBuffer),
|
||||
isFramework, info, extInfo));
|
||||
assert(info.status == Status::Valid ||
|
||||
info.status == theModule->getStatus());
|
||||
info.status = theModule->getStatus();
|
||||
return info;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user