iilyak commented on a change in pull request #3964:
URL: https://github.com/apache/couchdb/pull/3964#discussion_r832201438



##########
File path: src/couch/src/couch_server.erl
##########
@@ -95,8 +95,6 @@ get_spidermonkey_version() -> 
list_to_binary(?COUCHDB_SPIDERMONKEY_VERSION).
 sup_start_link(N) ->
     gen_server:start_link({local, couch_server(N)}, couch_server, [N], []).
 
--spec open(any(), [any()]) ->

Review comment:
       don't remove the spec, please. Add auxiliary type instead. 
   
   ```
   -type throw(_Reason) :: no_return().
   
   ....
   
   -spec open(any(), [any()]) -> 
        throw({error, all_dbs_active}).
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to