Fix couch_key_tree:merge_extend arg types

Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/e9c9bb40
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/e9c9bb40
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/e9c9bb40

Branch: refs/heads/master
Commit: e9c9bb404bb7aec2798c21bef2b23701fee384db
Parents: 1727985
Author: ILYA Khlopotov <iil...@ca.ibm.com>
Authored: Wed Jun 22 10:29:47 2016 -0700
Committer: ILYA Khlopotov <iil...@ca.ibm.com>
Committed: Wed Jun 22 10:29:47 2016 -0700

----------------------------------------------------------------------
 src/couch_key_tree.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/e9c9bb40/src/couch_key_tree.erl
----------------------------------------------------------------------
diff --git a/src/couch_key_tree.erl b/src/couch_key_tree.erl
index 6f62058..bc4076a 100644
--- a/src/couch_key_tree.erl
+++ b/src/couch_key_tree.erl
@@ -174,8 +174,8 @@ merge_at([Tree | Sibs], 0, INodes) ->
         fail -> fail
     end.
 
--spec merge_extend(tree(), tree()) ->
-                {tree(), new_leaf | new_branch | internal_node}.
+-spec merge_extend(revtree(), revtree()) ->
+                {revtree(), new_leaf | new_branch | internal_node}.
 merge_extend([], B) when B =/= [] ->
     % Most likely the insert branch simply extends this one, so the new
     % branch is exactly B. Its also possible that B is a branch because

Reply via email to