Github user kxepal commented on a diff in the pull request:

    https://github.com/apache/couchdb-couch-epi/pull/2#discussion_r34421707
  
    --- Diff: src/couch_epi_functions_gen.erl ---
    @@ -309,6 +309,11 @@ remove_from_definitions(Defs, Source) ->
                 {[], Defs}
         end.
     
    +-spec modules(Handle :: atom(), Function :: atom(), Arity :: 
pos_integer()) ->
    +    boolean().
    --- End diff --
    
    Return type is not boolean() here - it's a list which returned by 
[`couch_epi_codegen:scan/1`](https://github.com/apache/couchdb-couch-epi/blob/master/src/couch_epi_codegen.erl#L36)
 which is called by 
[`providers/4`](https://github.com/iilyak/couchdb-couch-epi/blob/add-is_configured/src/couch_epi_functions_gen.erl#L295-L302)
 (and /2,3 as well).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to