File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Sources/SwiftDriver/Incremental Compilation Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -111,19 +111,14 @@ extension SourceFileDependencyGraph {
111111 case malformedSourceFileDepGraphNodeRecord
112112 case unknownRecord
113113 case unexpectedSubblock
114- case notAbsolutePath
115114 case bogusNameOrContext
116115 case unknownKind
117116 }
118117
119118 // FIXME: This should accept a FileSystem parameter.
120119 static func read( from swiftDeps: ModuleDependencyGraph . SwiftDeps
121120 ) throws -> Self {
122- guard let path = swiftDeps. file. absolutePath
123- else {
124- throw ReadError . notAbsolutePath
125- }
126- return try self . init ( pathString: path. pathString)
121+ try self . init ( pathString: swiftDeps. file. name)
127122 }
128123
129124 init ( nodesForTesting: [ Node ] ) {
You can’t perform that action at this time.
0 commit comments