mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NFC] Strip EditorPlaceholderExpr of its TypeLoc
This commit is contained in:
@@ -1562,7 +1562,7 @@ private:
|
||||
PlaceholderFinder Finder(E->getStartLoc(), Found);
|
||||
E->walk(Finder);
|
||||
if (Found) {
|
||||
if (auto TR = Found->getTypeLoc().getTypeRepr()) {
|
||||
if (auto TR = Found->getPlaceholderTypeRepr()) {
|
||||
TR->walk(ClosureWalker);
|
||||
return ClosureWalker.FoundFunctionTypeRepr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user