projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update .bashrc
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
coc-go-data
/
tools
/
pkg
/
mod
/
honnef.co
/
go
/
tools@v0.1.1
/
simple
/
testdata
/
src
/
convert_go18
/
convert.go
1
package pkg
2
3
type t1 struct {
4
a int
5
b int
6
}
7
8
type t2 struct {
9
a int
10
b int
11
}
12
13
type t3 struct {
14
a int `tag`
15
b int `tag`
16
}
17
18
func fn() {
19
v1 := t1{1, 2}
20
_ = t2{v1.a, v1.b} // want `should convert v1`
21
_ = t3{v1.a, v1.b} // want `should convert v1`
22
}