@@ -43,15 +43,15 @@ private enum Error: Swift.Error {
43
43
}
44
44
45
45
// FIXME: An abstraction for tests to work around missing memberwise initializers in `TSCUtility.SerializedDiagnostics`.
46
- protocol AnySourceLocation {
46
+ package protocol AnySourceLocation {
47
47
var filename : String { get }
48
48
var line : UInt64 { get }
49
49
var column : UInt64 { get }
50
50
var offset : UInt64 { get }
51
51
}
52
52
53
53
// FIXME: An abstraction for tests to work around missing memberwise initializers in `TSCUtility.SerializedDiagnostics`.
54
- protocol AnyFixIt {
54
+ package protocol AnyFixIt {
55
55
associatedtype SourceLocation : AnySourceLocation
56
56
57
57
var start : SourceLocation { get }
@@ -60,7 +60,7 @@ protocol AnyFixIt {
60
60
}
61
61
62
62
// FIXME: An abstraction for tests to work around missing memberwise initializers in `TSCUtility.SerializedDiagnostics`.
63
- protocol AnyDiagnostic {
63
+ package protocol AnyDiagnostic {
64
64
associatedtype SourceLocation : AnySourceLocation
65
65
associatedtype FixIt : AnyFixIt where FixIt. SourceLocation == SourceLocation
66
66
@@ -216,7 +216,7 @@ package struct SwiftFixIt /*: ~Copyable */ { // TODO: Crashes with ~Copyable
216
216
)
217
217
}
218
218
219
- init < Diagnostic: AnyDiagnostic > (
219
+ package init < Diagnostic: AnyDiagnostic > (
220
220
diagnostics: some Collection < Diagnostic > ,
221
221
categories: Set < String > ,
222
222
fileSystem: any FileSystem
0 commit comments