File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Sources/SwiftDocC/Infrastructure Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -1098,8 +1098,10 @@ public class DocumentationContext: DocumentationContextDataProviderDelegate {
10981098
10991099 let moduleInterfaceLanguages : Set < SourceLanguage >
11001100 if FeatureFlags . current. isExperimentalObjectiveCSupportEnabled {
1101- // Infer the module's interface languages from the interface
1102- // languages of the first symbol in the symbol graph.
1101+ // FIXME: Update with new SymbolKit API once available.
1102+ // This is a very inefficient way to gather the source languages
1103+ // represented in a symbol graph. Adding a dedicated SymbolKit API is tracked
1104+ // with SR-15551 and rdar://85982095.
11031105 moduleInterfaceLanguages = Set (
11041106 unifiedSymbolGraph. symbols. flatMap ( \. value. sourceLanguages)
11051107 )
Original file line number Diff line number Diff line change @@ -151,7 +151,9 @@ private extension Array where Element == String {
151151
152152extension UnifiedSymbolGraph . Symbol {
153153 var sourceLanguages : Set < SourceLanguage > {
154- // FIXME: create a SymbolKit API to get all the languages of the symbol
154+ // FIXME: Replace with new SymbolKit API once available.
155+ // Adding a dedicated SymbolKit API for this purpose is tracked
156+ // with SR-15551 and rdar://85982095.
155157 return Set (
156158 pathComponents. keys. compactMap { selector in
157159 return SourceLanguage ( knownLanguageIdentifier: selector. interfaceLanguage)
You can’t perform that action at this time.
0 commit comments