gotools/gopls/internal/test/marker/testdata/codeaction/removeparam_funcvalue.txt

This test exercises change signature refactoring handling of function values.

TODO(rfindley): use a literalization strategy to allow these references.

-- go.mod --
module unused.mod

go 1.18

-- a/a.go --
package a

func A(x, unused int) int { //@codeaction("unused", "refactor.rewrite.removeUnusedParam", err=re"non-call function reference")
	return x
}

func _() {
	_ = A
}