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.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/synth/elab-vhdl_expr.adb b/src/synth/elab-vhdl_expr.adb
index d105fc730..d897fee69 100644
--- a/src/synth/elab-vhdl_expr.adb
+++ b/src/synth/elab-vhdl_expr.adb
@@ -437,7 +437,9 @@ package body Elab.Vhdl_Expr is
procedure Check_Matching_Bounds (L, R : Type_Acc; Loc : Node) is
begin
- null;
+ if not Are_Types_Equal (L, R) then
+ Error_Msg_Elab (+Loc, "non matching bounds");
+ end if;
end Check_Matching_Bounds;
-- Return the bounds of a one dimensional array/vector type and the