blob: e67e378fde3facb2743ab455df98c3344615abbd [file] [log] [blame]
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 { //@codeactionerr("unused", "unused", "refactor.rewrite", re"non-call function reference")
return x
}
func _() {
_ = A
}