1
0
mirror of https://github.com/golang/go synced 2024-11-05 17:26:11 -07:00
go/internal/lsp/analysis/fillstruct
Josh Baum 727c06e3f1 internal/lsp/analysis/fillstruct: correct pointer to builtin values
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>
2020-06-25 16:34:51 +00:00
..
testdata/src internal/lsp/analysis/fillstruct: correct pointer to builtin values 2020-06-25 16:34:51 +00:00
fillstruct_test.go internal/lsp: port fill struct into analysis framework 2020-06-12 20:33:59 +00:00
fillstruct.go internal/lsp/analysis/fillstruct: correct pointer to builtin values 2020-06-25 16:34:51 +00:00