Sign in
go
/
tools
/
890984ba22125000b094316405734fa305065a2a
/
.
/
internal
/
lsp
/
testdata
/
extract
/
extract_function
/
extract_unnecessary_param.go
blob: a6eb1f8728129c80ac55afde4d6e3d8399ce914a [
file
] [
log
] [
blame
]
package extract
func _() {
var b []int
var a int
a := 2
//@mark(exSt8, "a")
b = []int{}
b = append(b, a)
//@mark(exEn8, ")")
b[0] = 1
if a == 2 {
return
}
//@extractfunc(exSt8, exEn8)
}