Closed
Description
Go 1.18.3.
Not sure what I expect when I use `go tool pprof's web mode to see the graphviz SVG output on a node using generics, but not this:
Either without the newlines, or with the concrete types (if/when available)?
FWIW, that's from:
// Set populates an entry in a map, making the map if necessary.
//
// That is, it assigns (*m)[k] = v, making *m if it was nil.
func Set[K comparable, V any, T ~map[K]V](m *T, k K, v V) {
if *m == nil {
*m = make(map[K]V)
}
(*m)[k] = v
}