Skip to content

Commit 52fe9ba

Browse files
authored
Merge pull request #30346 from slavapestov/fix-abi-header-nit
ABI: Fix return type of TargetGenericRequirementDescriptor::getConformance()
2 parents 2dc3390 + c61ead1 commit 52fe9ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/ABI/Metadata.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2720,7 +2720,7 @@ class TargetGenericRequirementDescriptor {
27202720
/// The conformance the param is constrained to use.
27212721
///
27222722
/// Only valid if the requirement has SameConformance kind.
2723-
RelativeIndirectablePointer<TargetProtocolConformanceRecord<Runtime>,
2723+
RelativeIndirectablePointer<TargetProtocolConformanceDescriptor<Runtime>,
27242724
/*nullable*/ false> Conformance;
27252725

27262726
/// The kind of layout constraint.
@@ -2758,7 +2758,7 @@ class TargetGenericRequirementDescriptor {
27582758

27592759
/// Retrieve the protocol conformance record for a SameConformance
27602760
/// requirement.
2761-
const TargetProtocolConformanceRecord<Runtime> *getConformance() const {
2761+
const TargetProtocolConformanceDescriptor<Runtime> *getConformance() const {
27622762
assert(getKind() == GenericRequirementKind::SameConformance);
27632763
return Conformance;
27642764
}

0 commit comments

Comments
 (0)