aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/formatting
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-27 11:03:32 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-07-01 06:39:46 +0200
commit2b8408086015c15c105c3a173e9485c19e391980 (patch)
tree3f8d14b9a0f8151a786eda22efe1c9b8149b3529 /pyGHDL/dom/formatting
parent06e53f991bee84c881cbea64bb9f7067d9d033fc (diff)
downloadghdl-2b8408086015c15c105c3a173e9485c19e391980.tar.gz
ghdl-2b8408086015c15c105c3a173e9485c19e391980.tar.bz2
ghdl-2b8408086015c15c105c3a173e9485c19e391980.zip
Current state.
Diffstat (limited to 'pyGHDL/dom/formatting')
-rw-r--r--pyGHDL/dom/formatting/prettyprint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyGHDL/dom/formatting/prettyprint.py b/pyGHDL/dom/formatting/prettyprint.py
index f055f3f51..fb1fcf826 100644
--- a/pyGHDL/dom/formatting/prettyprint.py
+++ b/pyGHDL/dom/formatting/prettyprint.py
@@ -21,7 +21,7 @@ from pyVHDLModel.VHDLModel import (
GenericInterfaceItem,
NamedEntity,
PortInterfaceItem,
- WithDefaultExpression,
+ WithDefaultExpressionMixin,
Function,
BaseType,
Type,
@@ -481,7 +481,7 @@ class PrettyPrint:
)
)
- def formatInitialValue(self, item: WithDefaultExpression) -> str:
+ def formatInitialValue(self, item: WithDefaultExpressionMixin) -> str:
if item.DefaultExpression is None:
return ""