Address review comments

This commit is contained in:
Daniil Kovalev
2025-10-09 21:52:22 +03:00
parent b3d31c7d51
commit 02fcd218d7
17 changed files with 234 additions and 152 deletions

View File

@@ -35,6 +35,14 @@ extension Optional<SourceLoc> {
}
}
public struct SourceRange {
public let bridged: swift.SourceRange
public init(start: SourceLoc?) {
self.bridged = swift.SourceRange(start: start.bridgedLocation)
}
}
public struct CharSourceRange {
public let start: SourceLoc
public let byteLength: UInt32