Skip to content

Commit 2220d2d

Browse files
committed
[Consistency checking] Print the filename with diagnostics.
1 parent 999f7c1 commit 2220d2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftCompilerSupport/ConsistencyCheck.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public func _parserConsistencyCheck(
7373
continue
7474
}
7575

76-
print("\(diag.debugDescription)")
76+
print("\(String(cString: filename)): error: \(diag.debugDescription)")
7777
anyDiags = true
7878
}
7979

0 commit comments

Comments
 (0)