diff --git a/Sources/Core/SourceRange.swift b/Sources/Core/SourceRange.swift index 224a1239e..6eee3127c 100644 --- a/Sources/Core/SourceRange.swift +++ b/Sources/Core/SourceRange.swift @@ -14,7 +14,7 @@ public struct SourceRange: Hashable { public var end: SourceFile.Index { indices.upperBound } /// Creates an instance with the given properties. - init(_ indices: Range, in file: SourceFile) { + public init(_ indices: Range, in file: SourceFile) { self.file = file self.indices = indices }