We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
md5: 7a780d28224eef5a62504852074094c5
Issue Description:
SymbolKit decodes unknown Symbol mixins just fine by adding them to Symbol.mixins, but {{fatalError}}s when encoding unknown mixins: https://github.com/apple/swift-docc-symbolkit/blob/main/Sources/SymbolKit/SymbolGraph/Symbol/Symbol.swift#L180.
Symbol.mixins
For example, when decoding a symbol graph from the Swift compiler (which includes the location mixin) and encoding it back, SymbolKit crashes.
location
We should make SymbolKit encode unknown mixins.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Additional Detail from JIRA
md5: 7a780d28224eef5a62504852074094c5
Issue Description:
SymbolKit decodes unknown Symbol mixins just fine by adding them to
Symbol.mixins
, but {{fatalError}}s when encoding unknown mixins: https://github.com/apple/swift-docc-symbolkit/blob/main/Sources/SymbolKit/SymbolGraph/Symbol/Symbol.swift#L180.For example, when decoding a symbol graph from the Swift compiler (which includes the
location
mixin) and encoding it back, SymbolKit crashes.We should make SymbolKit encode unknown mixins.
The text was updated successfully, but these errors were encountered: