aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/sem_stmts.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/sem_stmts.adb')
-rw-r--r--src/vhdl/sem_stmts.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/sem_stmts.adb b/src/vhdl/sem_stmts.adb
index 638e9ada3..9abe1b92f 100644
--- a/src/vhdl/sem_stmts.adb
+++ b/src/vhdl/sem_stmts.adb
@@ -432,7 +432,7 @@ package body Sem_Stmts is
Expr: Iir;
begin
Target := Get_Target (Stmt);
- Target := Sem_Expression_Wildcard (Target, Sig_Type);
+ Target := Sem_Expression_Wildcard (Target, Get_Base_Type (Sig_Type));
if Target /= Null_Iir then
Set_Target (Stmt, Target);