From b0b7eb4ce42eb48500e7488a433249459671801c Mon Sep 17 00:00:00 2001 From: rsetaluri Date: Wed, 30 Aug 2023 11:14:13 -0700 Subject: [PATCH] [Types] Disallow wiring different order tuples --- magma/tuple.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magma/tuple.py b/magma/tuple.py index f21ada6a4..2e15c4632 100644 --- a/magma/tuple.py +++ b/magma/tuple.py @@ -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 "