[SIL] Handle KeyPathComponentKind::Method in helpers.

This commit is contained in:
Amritpan Kaur
2024-11-26 01:05:41 -08:00
parent 807c323159
commit 39b48bb218
8 changed files with 20 additions and 6 deletions

View File

@@ -902,6 +902,9 @@ SILSerializer::writeKeyPathPatternComponent(
};
switch (component.getKind()) {
case KeyPathPatternComponent::Kind::Method:
printf("SerializeSIL:writeKeyPathPatternComponent");
break;
case KeyPathPatternComponent::Kind::StoredProperty:
handleComponentCommon(KeyPathComponentKindEncoding::StoredProperty);
ListOfValues.push_back(S.addDeclRef(component.getStoredPropertyDecl()));