vhdlpp: AssertStmt::elaborate() probes the condition type.
This commit is contained in:
parent
f4238eb563
commit
2e9c3555cb
|
|
@ -219,7 +219,7 @@ int BasicLoopStatement::elaborate(Entity*, ScopeBase*)
|
|||
|
||||
int AssertStmt::elaborate(Entity*ent, ScopeBase*scope)
|
||||
{
|
||||
return cond_->elaborate_expr(ent, scope, 0);
|
||||
return cond_->elaborate_expr(ent, scope, cond_->probe_type(ent, scope));
|
||||
}
|
||||
|
||||
int WaitForStmt::elaborate(Entity*ent, ScopeBase*scope)
|
||||
|
|
|
|||
Loading…
Reference in New Issue