mirror of
https://github.com/apple/swift-system
synced 2026-11-22 04:30:46 +00:00
fix static string error
This commit is contained in:
1 parent
ecde55d15e
commit
2a309bbd8a
1 file changed
+1
-1
@@ -52,7 +52,7 @@ internal func _debugPrecondition(
|
||||
// Only check in debug mode.
|
||||
if _slowPath(_isDebugAssertConfiguration()) {
|
||||
precondition(
|
||||
condition(), String(describing: message), file: file, line: line)
|
||||
condition(), "\(message)", file: file, line: line)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user