Skip to content

Commit acb7f8e

Browse files
authored
Implement generic signature checking for PartialType.create(with:) (#63496)
Check other constraints some more fixes
1 parent dcf90ba commit acb7f8e

File tree

14 files changed

+1052
-150
lines changed

14 files changed

+1052
-150
lines changed

include/swift/Runtime/Metadata.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,11 @@ SWIFT_CC(swift)
879879
SWIFT_RUNTIME_STDLIB_INTERNAL MetadataResponse
880880
getSuperclassMetadata(MetadataRequest request, const ClassMetadata *self);
881881

882+
SWIFT_CC(swift)
883+
SWIFT_RUNTIME_STDLIB_SPI
884+
bool _swift_class_isSubclass(const Metadata *subclass,
885+
const Metadata *superclass);
886+
882887
#if !NDEBUG
883888
/// Verify that the given metadata pointer correctly roundtrips its
884889
/// mangled name through the demangler.

0 commit comments

Comments
 (0)