diff options
Diffstat (limited to 'src/synth/synth-expr.adb')
-rw-r--r-- | src/synth/synth-expr.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/synth/synth-expr.adb b/src/synth/synth-expr.adb index e4e12f6e5..9be6d5182 100644 --- a/src/synth/synth-expr.adb +++ b/src/synth/synth-expr.adb @@ -1558,6 +1558,7 @@ package body Synth.Expr is N : Net; begin Res := Synth_Expression (Syn_Inst, Pfx); + Strip_Const (Res); Res_Typ := Res.Typ.Rec.E (Idx + 1).Typ; if Res.Kind = Value_Const_Record then return Res.Rec.V (Idx + 1); |