mirror of https://github.com/golang/go.git
The current implementation correctly calls 'new' when filling a pointer to a builtin type. Fixes: golang/go#39854 Change-Id: I0c2b27bb57fd865c4376279059ad060608d48ba3 Reviewed-on: https://go-review.googlesource.com/c/tools/+/239978 Run-TryBot: Josh Baum <joshbaum@google.com> Reviewed-by: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
|---|---|---|
| .. | ||
| fillreturns | ||
| fillstruct | ||
| nonewvars | ||
| noresultvalues | ||
| simplifycompositelit | ||
| simplifyrange | ||
| simplifyslice | ||
| undeclaredname | ||
| unusedparams | ||