Skip to content

Commit

Permalink
Fix overrides log
Browse files Browse the repository at this point in the history
Summary: We were logging the just the Method pointers for overrides. This prints the actual methods.

Reviewed By: yuhshin-oss

Differential Revision: D48235940

fbshipit-source-id: 382140c7570c252abbdd4be889c73b65e620213c
  • Loading branch information
Anwesh Tuladhar authored and facebook-github-bot committed Aug 10, 2023
1 parent c3ed4e2 commit 57f244e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/CallGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ std::ostream& operator<<(std::ostream& out, const CallTarget& call_target) {
out << ", receiver_type=`" << show(call_target.receiver_type())
<< "`, overrides={";
for (const auto* method : call_target.overrides()) {
out << "`" << method << "`, ";
out << "`" << method->show() << "`, ";
}
out << "}";
}
Expand Down

0 comments on commit 57f244e

Please sign in to comment.