Revert "swift SIL: Fix variable 's' was never mutated; consider changing to 'let' constant warnings."

This reverts commit d83c17e832.
This commit is contained in:
Allan Shortlidge
2022-05-10 10:38:58 -07:00
parent a5a15b794b
commit 1ffe55b856
5 changed files with 6 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ final public class BasicBlock : ListNode, CustomStringConvertible, HasName {
public var function: Function { SILBasicBlock_getFunction(bridged).function }
public var description: String {
let s = SILBasicBlock_debugDescription(bridged)
var s = SILBasicBlock_debugDescription(bridged)
return String(cString: s.c_str())
}