Skip to content

Commit 90cb805

Browse files
committed
Fix _StringObject._dump() under SWIFT_STDLIB_STATIC_PRINT
It does not compile in this mode. ``` error: no exact matches in call to instance method 'appendInterpolation' owner: \(repr._objectIdentifier!), \ ```
1 parent e12130c commit 90cb805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/StringObject.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@ extension _StringObject {
12401240

12411241
@inline(never)
12421242
internal func _dump() {
1243-
#if INTERNAL_CHECKS_ENABLED
1243+
#if INTERNAL_CHECKS_ENABLED && !SWIFT_STDLIB_STATIC_PRINT
12441244
let raw = self.rawBits
12451245
let word0 = ("0000000000000000" + String(raw.0, radix: 16)).suffix(16)
12461246
let word1 = ("0000000000000000" + String(raw.1, radix: 16)).suffix(16)

0 commit comments

Comments
 (0)