[SR-9450] Warn if GroupInfo.json contains non-existent file #51913
Labels
compiler
The Swift compiler in itself
improvement
serialization
Area → compiler: Serialization & deserialization
standard library
Area: Standard library umbrella
Additional Detail from JIRA
md5: 7b6cc147258ddebcd508cc5e352067db
Issue Description:
When a swift file is added to stdlib/public/core/, but the GroupInfo.json isn't updated, the build will fail with error: no group info found for file: '...'
However, when a swift file is removed, but the GroupInfo.json isn't updated, the build will succeed (without a warning or error). For example, see apple/swift#21118.
It might be possible to add something to serialization::writeDocToStream which checks that all of its group info has been used.
The text was updated successfully, but these errors were encountered: