Skip to content

Commit

Permalink
Allow same name doc for different methods
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtori committed Dec 19, 2023
1 parent 7ccf742 commit 4e7f3c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/doc.ml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ let make :

let rec update_service_list services doc = match services with
| [] -> [ doc ]
| h :: t when h.doc_path = doc.doc_path -> doc :: t
| h :: t when h.doc_path = doc.doc_path && h.doc_meth = doc.doc_meth -> doc :: t
| h :: t -> h :: (update_service_list t doc)

let services = ref []
Expand Down

0 comments on commit 4e7f3c0

Please sign in to comment.