vhdlpp: AssertStmt::elaborate() probes the condition type.

This commit is contained in:
Maciej Suminski 2015-12-03 17:56:56 +01:00
parent f4238eb563
commit 2e9c3555cb
1 changed files with 1 additions and 1 deletions

View File

@ -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)