We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3a43e7d + 6052fd9 commit c9fcab1Copy full SHA for c9fcab1
lib/ASTGen/Sources/ASTGen/DeclAttrs.swift
@@ -945,7 +945,7 @@ extension ASTGenVisitor {
945
if let segments = node.as(SimpleStringLiteralExprSyntax.self)?.segments {
946
return extractRawText(segments).bridged
947
} else if let segments = node.as(StringLiteralExprSyntax.self)?.segments,
948
- segments.all({ $0.is(StringSegmentSyntax.self) })
+ segments.allSatisfy({ $0.is(StringSegmentSyntax.self) })
949
{
950
951
}
0 commit comments