From 06da7bad24f9ea25ed2f7098aa1ef9cb139bfda9 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 3 Aug 2017 05:46:48 +0200 Subject: sem_names: fix a crash with overload on a slice. Fix #395 --- src/vhdl/sem_names.adb | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vhdl') diff --git a/src/vhdl/sem_names.adb b/src/vhdl/sem_names.adb index 07262a64f..fa8987d1a 100644 --- a/src/vhdl/sem_names.adb +++ b/src/vhdl/sem_names.adb @@ -162,6 +162,7 @@ package body Sem_Names is when Iir_Kind_Enumeration_Literal | Iir_Kind_Function_Call | Iir_Kind_Indexed_Name + | Iir_Kind_Slice_Name | Iir_Kind_Selected_Element => Add_Element (Res_List, Get_Type (Decl)); when others => -- cgit v1.2.3