aboutsummaryrefslogtreecommitdiff
path: root/internal/lsp/testdata/extract/extract_function/extract_basic_comment.go.golden
blob: a43822a90b0f3595012301d780a616cd473b854a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-- functionextraction_extract_basic_comment_4_2 --
package extract

func _() {
	/* comment in the middle of a line */
	//@mark(exSt18, "a")
	// Comment on its own line
	newFunction() //@mark(exEn18, "4")
	//@extractfunc(exSt18, exEn18)
}

func newFunction() {
	a := 1

	_ = 3 + 4
}