aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vhdl/vhdl-sem_types.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-sem_types.adb b/src/vhdl/vhdl-sem_types.adb
index 312752088..8b09af241 100644
--- a/src/vhdl/vhdl-sem_types.adb
+++ b/src/vhdl/vhdl-sem_types.adb
@@ -2321,6 +2321,7 @@ package body Vhdl.Sem_Types is
Type_Mark := Sem_Type_Mark (Def, Incomplete);
return Type_Mark;
when Iir_Kind_Error =>
+ Set_Base_Type (Def, Def);
return Def;
when others =>
null;