File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/ASTGen/Sources/ASTGen Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -393,7 +393,7 @@ func makeExpansionOutputResult(
393393 expandedSource: String ? ,
394394 outputPointer: UnsafeMutablePointer < BridgedStringRef >
395395) -> Int {
396- guard var expandedSource = expandedSource else {
396+ guard let expandedSource = expandedSource else {
397397 outputPointer. pointee = BridgedStringRef ( )
398398 return - 1
399399 }
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ func swift_ASTGen_pluginServerLoadLibraryPlugin(
8181 assert ( diagnostics. isEmpty)
8282 return true
8383 }
84- var errorMsgs = diagnostics. map ( { $0. message } ) . joined ( separator: " , " ) ;
84+ let errorMsgs = diagnostics. map ( { $0. message } ) . joined ( separator: " , " ) ;
8585 errorOut? . pointee = allocateBridgedString ( errorMsgs) ;
8686 return false
8787 } catch {
You can’t perform that action at this time.
0 commit comments