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.
1 parent 767c569 commit 527ce4eCopy full SHA for 527ce4e
SwiftCompilerSources/Sources/AST/Declarations.swift
@@ -26,7 +26,7 @@ public class Decl: CustomStringConvertible, Hashable {
26
/// The parent DeclContext.
27
final public var parentDeclContext: DeclContext? {
28
if let decl = bridged.getParent().decl {
29
- return decl as! DeclContext
+ return (decl as! DeclContext)
30
}
31
if let bridgedDeclContext = BridgedDeclContext(bridged: bridged.getDeclContext()) {
32
// A DeclContext which is not a Decl.
0 commit comments