aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/elab-vhdl_expr.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/elab-vhdl_expr.adb')
-rw-r--r--src/synth/elab-vhdl_expr.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/elab-vhdl_expr.adb b/src/synth/elab-vhdl_expr.adb
index fd57960cb..0ddc874cf 100644
--- a/src/synth/elab-vhdl_expr.adb
+++ b/src/synth/elab-vhdl_expr.adb
@@ -473,7 +473,7 @@ package body Elab.Vhdl_Expr is
pragma Assert (Is_Bounded_Type (Btyp.Arr_El));
Res := Create_Array_Type (Bnd, True, Btyp.Arr_El);
when Type_Unbounded_Array =>
- pragma Assert (Btyp.Uarr_Ndim = 1);
+ pragma Assert (Btyp.Ulast);
pragma Assert (Is_Bounded_Type (El_Typ));
Res := Create_Array_Type (Bnd, True, El_Typ);
when others =>