We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff3e40f commit 4e2b309Copy full SHA for 4e2b309
Sources/SymbolKit/SymbolGraph/SemanticVersion/Prerelease.swift
@@ -42,7 +42,7 @@ extension SymbolGraph.SemanticVersion.Prerelease {
42
}
43
let identifiers = dotSeparatedIdentifiers.split(
44
separator: ".",
45
- omittingEmptySubsequences: false // must preserve empty identifiers, for accurate diagnostics.
+ omittingEmptySubsequences: false // Preserve empty sequences to be able to raise validation errors about empty prerelease identifiers.
46
)
47
try self.init(identifiers)
48
0 commit comments