aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/sem_types.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/sem_types.adb')
-rw-r--r--src/vhdl/sem_types.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/sem_types.adb b/src/vhdl/sem_types.adb
index 064648096..53d96229c 100644
--- a/src/vhdl/sem_types.adb
+++ b/src/vhdl/sem_types.adb
@@ -409,6 +409,7 @@ package body Sem_Types is
(Phys_Range, Get_Expr_Staticness (Range_Expr1));
Set_Range_Constraint (Sub_Type, Phys_Range);
+ Set_Range_Constraint (Def, Null_Iir);
-- This must be locally...
Set_Type_Staticness (Sub_Type, Get_Expr_Staticness (Range_Expr1));