File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
SwiftCompilerSources/Sources Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ public extension NoReflectionChildren {
8080//===----------------------------------------------------------------------===//
8181
8282public struct StringRef : CustomStringConvertible , NoReflectionChildren {
83- let _bridged : BridgedStringRef
83+ public let _bridged : BridgedStringRef
8484
8585 public init ( bridged: BridgedStringRef ) { self . _bridged = bridged }
8686
Original file line number Diff line number Diff line change @@ -25,6 +25,11 @@ extension String: DiagnosticArgument {
2525 _withBridgedStringRef { fn ( BridgedDiagnosticArgument ( $0) ) }
2626 }
2727}
28+ extension StringRef : DiagnosticArgument {
29+ func _withBridgedDiagnosticArgument( _ fn: ( BridgedDiagnosticArgument ) -> Void ) {
30+ fn ( BridgedDiagnosticArgument ( _bridged) )
31+ }
32+ }
2833extension Int : DiagnosticArgument {
2934 func _withBridgedDiagnosticArgument( _ fn: ( BridgedDiagnosticArgument ) -> Void ) {
3035 fn ( BridgedDiagnosticArgument ( self ) )
You can’t perform that action at this time.
0 commit comments