Skip to content

Commit 527ce4e

Browse files
committed
suppress AST compiler warning
1 parent 767c569 commit 527ce4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwiftCompilerSources/Sources/AST/Declarations.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class Decl: CustomStringConvertible, Hashable {
2626
/// The parent DeclContext.
2727
final public var parentDeclContext: DeclContext? {
2828
if let decl = bridged.getParent().decl {
29-
return decl as! DeclContext
29+
return (decl as! DeclContext)
3030
}
3131
if let bridgedDeclContext = BridgedDeclContext(bridged: bridged.getDeclContext()) {
3232
// A DeclContext which is not a Decl.

0 commit comments

Comments
 (0)