summaryrefslogtreecommitdiff
path: root/src/vhdl/translate/trans-rtis.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/translate/trans-rtis.adb')
-rw-r--r--src/vhdl/translate/trans-rtis.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/translate/trans-rtis.adb b/src/vhdl/translate/trans-rtis.adb
index 1ee19ba..b724434 100644
--- a/src/vhdl/translate/trans-rtis.adb
+++ b/src/vhdl/translate/trans-rtis.adb
@@ -1929,7 +1929,7 @@ package body Trans.Rtis is
Var := Info.Signal_Sig;
when Iir_Kind_Object_Alias_Declaration =>
Comm := Ghdl_Rtik_Alias;
- Var := Info.Alias_Var;
+ Var := Info.Alias_Var (Info.Alias_Kind);
Mode := Object_Kind_Type'Pos (Info.Alias_Kind);
when others =>
Error_Kind ("rti.generate_object", Decl);