mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SIL] Handle KeyPathComponentKind::Method in helpers.
This commit is contained in:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user