aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-expr.adb
diff options
context:
space:
mode:
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;