mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
KeyPaths: Generate _kvcKeyPathString for ObjC-compatible keypaths.
This commit is contained in:
@@ -1782,7 +1782,12 @@ public:
|
||||
*this << ' ';
|
||||
}
|
||||
|
||||
*this << "(root $" << KPI->getPattern()->getRootType();
|
||||
*this << "(";
|
||||
|
||||
if (!pattern->getObjCString().empty())
|
||||
*this << "objc \"" << pattern->getObjCString() << "\"; ";
|
||||
|
||||
*this << "root $" << KPI->getPattern()->getRootType();
|
||||
|
||||
for (auto &component : pattern->getComponents()) {
|
||||
*this << "; ";
|
||||
|
||||
Reference in New Issue
Block a user