Skip to content

Commit

Permalink
[Types] Disallow wiring different order tuples
Browse files Browse the repository at this point in the history
  • Loading branch information
rsetaluri committed Aug 30, 2023
1 parent 4592ee0 commit b0b7eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magma/tuple.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def wire(self, o, debug_info):
)
return

if self.keys() != o.keys():
if list(self.keys()) != list(o.keys()):
_logger.error(
WiringLog(f"Cannot wire {{}} (type={type(o)}, "
f"keys={list(self.keys())}) to "
Expand Down

0 comments on commit b0b7eb4

Please sign in to comment.