diff options
Diffstat (limited to 'src/synth')
-rw-r--r-- | src/synth/synth-oper.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/synth-oper.adb b/src/synth/synth-oper.adb index 4ccb85ff7..353cd95e1 100644 --- a/src/synth/synth-oper.adb +++ b/src/synth/synth-oper.adb @@ -89,7 +89,7 @@ package body Synth.Oper is Res : Net; begin if Is_Const (Val) and then Val.Typ.Kind = Type_Discrete then - if Val.Typ.Drange.Is_Signed then + if Val.Typ.Drange.Is_Signed and then Val.Scal < 0 then -- TODO. raise Internal_Error; else |