Smart completion: "::functionName" items when value of function type is expected