fhdl/structure: add missing init

This commit is contained in:
Sebastien Bourdeauducq 2015-09-20 14:46:30 +08:00
parent 8bbfaa01fc
commit 59802bec76
1 changed files with 1 additions and 0 deletions

View File

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