aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/translate/trans-chap4.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/translate/trans-chap4.adb')
-rw-r--r--src/vhdl/translate/trans-chap4.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/translate/trans-chap4.adb b/src/vhdl/translate/trans-chap4.adb
index 675dc3d62..7b8312290 100644
--- a/src/vhdl/translate/trans-chap4.adb
+++ b/src/vhdl/translate/trans-chap4.adb
@@ -548,7 +548,7 @@ package body Trans.Chap4 is
declare
Aggr_Type : constant Iir := Get_Type (Value);
begin
- Chap3.Create_Array_Subtype (Aggr_Type);
+ Chap3.Create_Composite_Subtype (Aggr_Type);
Name_Node := Stabilize (Name);
if Alloc_Kind = Alloc_Stack then
-- Short-cut: don't allocate bounds.