Skip to content

Commit 3e3fb58

Browse files
committed
[SwiftCompilerSources] NFC: Workaround a compiler bug
1 parent e5442fe commit 3e3fb58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

SwiftCompilerSources/Sources/Optimizer/Utilities/EscapeUtils.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,9 @@ protocol EscapeVisitorWithResult : EscapeVisitor {
184184
var result: Result { get }
185185
}
186186

187-
private struct DefaultVisitor : EscapeVisitor {}
187+
// FIXME: This ought to be marked private, but that triggers a compiler bug
188+
// in debug builds (rdar://117413192)
189+
struct DefaultVisitor : EscapeVisitor {}
188190

189191
struct EscapeUtilityTypes {
190192

0 commit comments

Comments
 (0)