This test checks completion related to function signatures.

-- flags --
-ignore_extra_diags

-- func_sig.go --
package funcsig

type someType int //@item(sigSomeType, "someType", "int", "type")

// Don't complete "foo" in signature.
func (foo someType) _() { //@item(sigFoo, "foo", "someType", "var"),complete(re"()\\) {", sigSomeType)

	//@complete("", sigFoo, sigSomeType)
}
