Skip to content

Commit b50d904

Browse files
authored
Merge pull request swiftlang#19965 from dcci/typoremote
[RemoteAST] Fix typo in existential payload calculation.
2 parents 10cc06f + b25953e commit b50d904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/RemoteAST/RemoteAST.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ class RemoteASTContextConcreteImpl final : public RemoteASTContextImpl {
11811181
if (!typeResult)
11821182
return getFailure<std::pair<Type, RemoteAddress>>();
11831183
return std::make_pair<Type, RemoteAddress>(std::move(typeResult),
1184-
std::move(object));
1184+
RemoteAddress(*pointerval));
11851185
}
11861186

11871187
Result<std::pair<Type, RemoteAddress>>

0 commit comments

Comments
 (0)