aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-context.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/synth-context.adb')
-rw-r--r--src/synth/synth-context.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synth/synth-context.adb b/src/synth/synth-context.adb
index e0fdc5e76..8b0b190dc 100644
--- a/src/synth/synth-context.adb
+++ b/src/synth/synth-context.adb
@@ -94,7 +94,8 @@ package body Synth.Context is
| Iir_Kind_Enumeration_Subtype_Definition
| Iir_Kind_Array_Subtype_Definition
| Iir_Kind_Integer_Subtype_Definition
- | Iir_Kind_Record_Type_Definition =>
+ | Iir_Kind_Record_Type_Definition
+ | Iir_Kind_Record_Subtype_Definition =>
Otype := Get_Value_Type (Syn_Inst, Obj_Type);
return Alloc_Wire (Kind, Obj, Otype);
when others =>