x/tools/callgraph/cha: missing edge with flag.Value.Set #23925
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?What did you do?
What did you expect to see?
A call to
(*p.FlagVal).Set
.Using a
main
package and amain
func instead ofFoo
does not fix it.However, using the RTA algorithm with the main package and func does work properly:
I can't figure out why CHA would not be able to find this potential call. Unless I am missing something obvious - or misunderstanding how CHA works - this seems like a bug.
/cc @alandonovan
The text was updated successfully, but these errors were encountered: