Skip to content

Commit

Permalink
FIXED: merge_options(+Dict, +List, Merged)
Browse files Browse the repository at this point in the history
Resulted in no matching rule exception.
  • Loading branch information
JanWielemaker committed Dec 9, 2024
1 parent 4bdb135 commit 3c7f96a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions library/option.pl
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@
is_dict(OldDict) =>
dict_options(NewDict, New),
put_dict(NewDict, OldDict, Dict).
merge_options(NewDict, OldList, List),
is_dict(NewDict) =>
dict_options(NewDict, NewList),
merge_option_lists(NewList, OldList, List).
merge_options(NewList, OldList, List),
is_list(NewList), is_list(OldList) =>
merge_option_lists(NewList, OldList, List).
Expand Down

0 comments on commit 3c7f96a

Please sign in to comment.