aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/sem_inst.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-12-05 03:06:37 +0100
committerTristan Gingold <tgingold@free.fr>2016-12-05 03:25:21 +0100
commit0a7fc14d1cb3fe7bb465102e5c27f1efbd54d511 (patch)
tree6b78616eaf7b5bd0ec83a9b54e99473503557851 /src/vhdl/sem_inst.adb
parent01ae3f0d2d25b8174ee3b281430180a913e5e9a0 (diff)
downloadghdl-0a7fc14d1cb3fe7bb465102e5c27f1efbd54d511.tar.gz
ghdl-0a7fc14d1cb3fe7bb465102e5c27f1efbd54d511.tar.bz2
ghdl-0a7fc14d1cb3fe7bb465102e5c27f1efbd54d511.zip
sem_assocs: handle overloaded operators for interface_function
For #199
Diffstat (limited to 'src/vhdl/sem_inst.adb')
-rw-r--r--src/vhdl/sem_inst.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/sem_inst.adb b/src/vhdl/sem_inst.adb
index 147073063..caba67456 100644
--- a/src/vhdl/sem_inst.adb
+++ b/src/vhdl/sem_inst.adb
@@ -782,7 +782,7 @@ package body Sem_Inst is
declare
Inter_Type_Def : constant Iir :=
Get_Type (Get_Association_Interface (Assoc, Inter));
- Actual_Type : constant Iir := Get_Type (Get_Actual (Assoc));
+ Actual_Type : constant Iir := Get_Actual_Type (Assoc);
begin
Set_Instance (Inter_Type_Def, Actual_Type);
end;