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.
allSatisfy
all
1 parent 0bdc011 commit 6052fd9Copy full SHA for 6052fd9
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