diff options
| author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-06-27 22:46:28 +0200 |
|---|---|---|
| committer | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-07-01 06:39:46 +0200 |
| commit | 5c2afa1e06c43e4f445e3387b3de77231b6c42d4 (patch) | |
| tree | 865a9605f2447d4600899caa23b2de450405c075 /pyGHDL/dom/InterfaceItem.py | |
| parent | 2b8408086015c15c105c3a173e9485c19e391980 (diff) | |
| download | ghdl-5c2afa1e06c43e4f445e3387b3de77231b6c42d4.tar.gz ghdl-5c2afa1e06c43e4f445e3387b3de77231b6c42d4.tar.bz2 ghdl-5c2afa1e06c43e4f445e3387b3de77231b6c42d4.zip | |
Fixed MRO problems.
Diffstat (limited to 'pyGHDL/dom/InterfaceItem.py')
| -rw-r--r-- | pyGHDL/dom/InterfaceItem.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pyGHDL/dom/InterfaceItem.py b/pyGHDL/dom/InterfaceItem.py index c5955c6aa..97ef0cfe8 100644 --- a/pyGHDL/dom/InterfaceItem.py +++ b/pyGHDL/dom/InterfaceItem.py @@ -199,13 +199,9 @@ class ParameterConstantInterfaceItem( subType: SubTypeOrSymbol, defaultExpression: Expression = None, ): - super().__init__(name, mode) + super().__init__(name, mode, subType, defaultExpression) DOMMixin.__init__(self, node) - # TODO: move to model - self._subType = subType - self._defaultExpression = defaultExpression - @classmethod def parse(cls, parameterNode: Iir) -> "ParameterConstantInterfaceItem": name = GetNameOfNode(parameterNode) |
