aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-expr.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-30 00:23:56 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-30 00:23:56 +0200
commit7eb71d12d9fc376926d1960457cdda7e0d54fcb4 (patch)
treef97c169db84ccd0eed4a0e26b17448da8a82bf53 /src/synth/synth-expr.adb
parentdd6c67ac12d1371b4bc7b1a5570f9522d32a647a (diff)
downloadghdl-7eb71d12d9fc376926d1960457cdda7e0d54fcb4.tar.gz
ghdl-7eb71d12d9fc376926d1960457cdda7e0d54fcb4.tar.bz2
ghdl-7eb71d12d9fc376926d1960457cdda7e0d54fcb4.zip
synth: refactoring of alias (allow alias of anything).
Diffstat (limited to 'src/synth/synth-expr.adb')
-rw-r--r--src/synth/synth-expr.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/synth-expr.adb b/src/synth/synth-expr.adb
index 7129eb90f..82ceedfa2 100644
--- a/src/synth/synth-expr.adb
+++ b/src/synth/synth-expr.adb
@@ -709,7 +709,7 @@ package body Synth.Expr is
when Value_Net =>
return Create_Value_Net (Val.N, Ntype);
when Value_Alias =>
- return Create_Value_Alias (Val.A_Wid, Val.A_Off, Ntype);
+ return Create_Value_Alias (Val.A_Obj, Val.A_Off, Ntype);
when others =>
raise Internal_Error;
end case;