aboutsummaryrefslogtreecommitdiff
path: root/internal/lsp/testdata/extract/extract_function/extract_issue_44813.go
blob: 9713b9101eef62cfdac5ae0156ec6bf8d76d597d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package extract

import "fmt"

func main() {
	x := []rune{} //@mark(exSt9, "x")
	s := "HELLO"
	for _, c := range s {
		x = append(x, c)
	} //@mark(exEn9, "}")
	//@extractfunc(exSt9, exEn9)
	fmt.Printf("%x\n", x)
}