fhdl/structure: add missing init
authorSebastien Bourdeauducq <sb@m-labs.hk>
Sun, 20 Sep 2015 06:46:30 +0000 (14:46 +0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Sun, 20 Sep 2015 06:46:30 +0000 (14:46 +0800)
migen/fhdl/structure.py

index ba72f09b056a6ebc6bd1465973b8237c6af1ab11..7f23184a2013eaebd230ea9548dd505cb13dd40d 100644 (file)
@@ -579,6 +579,7 @@ class Case(_Statement):
 
 class _ArrayProxy(_Value):
     def __init__(self, choices, key):
+        _Value.__init__(self)
         self.choices = []
         for c in choices:
             if isinstance(c, (bool, int)):