Skip to content

Commit ba90437

Browse files
Merge pull request #64349 from aschwaighofer/fix_swift_getAssociatedTypeWitnessRelativeSlowImpl_MetadataOrPack
Runtime: Fix swift_getAssociatedTypeWitnessRelativeSlowImpl for MetadataOrPack change
2 parents 277674a + 7afab47 commit ba90437

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stdlib/public/runtime/Metadata.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6264,7 +6264,8 @@ swift_getAssociatedTypeWitnessRelativeSlowImpl(
62646264
auto result = swift_getTypeByMangledName(
62656265
request, mangledName, substitutions.getGenericArgs(),
62666266
[&substitutions](unsigned depth, unsigned index) {
6267-
return substitutions.getMetadata(depth, index);
6267+
// FIXME: Variadic generics
6268+
return substitutions.getMetadata(depth, index).getMetadata();
62686269
},
62696270
[&substitutions](const Metadata *type, unsigned index) {
62706271
return substitutions.getWitnessTable(type, index);

0 commit comments

Comments
 (0)