diff options
Diffstat (limited to 'src/vhdl/sem_expr.adb')
-rw-r--r-- | src/vhdl/sem_expr.adb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vhdl/sem_expr.adb b/src/vhdl/sem_expr.adb index b2f4a4d99..c8722b66a 100644 --- a/src/vhdl/sem_expr.adb +++ b/src/vhdl/sem_expr.adb @@ -903,7 +903,9 @@ package body Sem_Expr is begin Assoc := Get_Parameter_Association_Chain (Expr); while Assoc /= Null_Iir loop - if Get_Kind (Assoc) /= Iir_Kind_Association_Element_Open then + if Get_Kind (Assoc) + = Iir_Kind_Association_Element_By_Expression + then Staticness := Min (Get_Expr_Staticness (Get_Actual (Assoc)), Staticness); |