aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vhdl/vhdl-evaluation.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-evaluation.adb b/src/vhdl/vhdl-evaluation.adb
index c0f666c6f..e1f5ea32e 100644
--- a/src/vhdl/vhdl-evaluation.adb
+++ b/src/vhdl/vhdl-evaluation.adb
@@ -2111,7 +2111,8 @@ package body Vhdl.Evaluation is
| Iir_Kind_Function_Call
| Iir_Kind_Attribute_Value
| Iir_Kind_Attribute_Name
- | Iir_Kind_Subtype_Attribute =>
+ | Iir_Kind_Subtype_Attribute
+ | Iir_Kind_Element_Attribute =>
Prefix_Type := Get_Type (Prefix);
when Iir_Kinds_Subtype_Definition =>
Prefix_Type := Prefix;