diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-09-04 04:20:41 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-09-04 04:20:41 +0200 |
commit | af4e05d11936bd40bfe98cf769c86887a77e1d5d (patch) | |
tree | 4f42b34c259c8fcc1d31c8c8ded9438c0de510c3 /src/vhdl | |
parent | 80eacd9d2a9b09fc69ab88adefa64c1a26e5aa52 (diff) | |
download | ghdl-af4e05d11936bd40bfe98cf769c86887a77e1d5d.tar.gz ghdl-af4e05d11936bd40bfe98cf769c86887a77e1d5d.tar.bz2 ghdl-af4e05d11936bd40bfe98cf769c86887a77e1d5d.zip |
sem_inst: fix instantiation of element type for non-name actual
Fix #406
Diffstat (limited to 'src/vhdl')
-rw-r--r-- | src/vhdl/sem_inst.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/sem_inst.adb b/src/vhdl/sem_inst.adb index e76d9cada..669a3de56 100644 --- a/src/vhdl/sem_inst.adb +++ b/src/vhdl/sem_inst.adb @@ -910,7 +910,7 @@ package body Sem_Inst is when Iir_Kind_Association_Element_Type => Inter := Get_Association_Interface (Inst_El, Inter_El); Set_Instance (Get_Type (Get_Origin (Inter)), - Get_Type (Get_Actual (Inst_El))); + Get_Actual_Type (Inst_El)); -- Implicit operators. declare Imp_Inter : Iir; |