projects
/
dotfiles
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Giant blob of minor changes
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
coc-go-data
/
tools
/
pkg
/
mod
/
honnef.co
/
go
/
tools@v0.0.1-2020.1.5
/
unused
/
testdata
/
src
/
type-dedup
/
dedup.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/unused/testdata/src/type-dedup/dedup.go
b/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/unused/testdata/src/type-dedup/dedup.go
new file mode 100644
(file)
index 0000000..
53cf2f9
--- /dev/null
+++ b/
.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/unused/testdata/src/type-dedup/dedup.go
@@ -0,0
+1,18
@@
+package pkg
+
+type t1 struct {
+ a int
+ b int // want `b`
+}
+
+type t2 struct {
+ a int // want `a`
+ b int
+}
+
+func Fn() {
+ x := t1{}
+ y := t2{}
+ println(x.a)
+ println(y.b)
+}