Skip to content

Commit

Permalink
Fix bug in bazel_to_cmake dict_union_polyfill
Browse files Browse the repository at this point in the history
Fixes #89.

PiperOrigin-RevId: 524860443
Change-Id: I21f98d34c82562845c9afdaeeb2b27971b0128d7
  • Loading branch information
jbms authored and Copybara-Service committed Apr 17, 2023
1 parent d5b12de commit 2868eab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/cmake/bazel_to_cmake/dict_union_polyfill.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def __or__(self, other):
return NotImplemented
new = DictWithUnion(self)
new.update(other)
return new

def __ror__(self, other):
if not isinstance(other, dict):
Expand Down

0 comments on commit 2868eab

Please sign in to comment.