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 a172134 commit c0935fcCopy full SHA for c0935fc
include/swift/AST/ASTBridging.h
@@ -45,6 +45,7 @@ class AvailabilityDomainOrIdentifier;
45
class Argument;
46
class ASTContext;
47
struct ASTNode;
48
+class CanGenericSignature;
49
struct CaptureListEntry;
50
class DeclAttributes;
51
class DeclBaseName;
@@ -318,7 +319,8 @@ struct BridgedDeclObj {
318
319
#endif
320
321
BridgedDeclObj(SwiftObject obj) : obj(obj) {}
- BridgedDeclObj(BridgedDecl decl) : obj(decl.unbridged()) {}
322
+ BridgedDeclObj(BridgedDecl decl)
323
+ : obj(static_cast<SwiftObject>(decl.unbridged())) {}
324
BridgedOwnedString getDebugDescription() const;
325
BRIDGED_INLINE swift::SourceLoc getLoc() const;
326
SWIFT_IMPORT_UNSAFE BRIDGED_INLINE BridgedDeclObj getModuleContext() const;
0 commit comments