Skip to content

Commit c87358a

Browse files
committed
SMV: tighten expression type checking
This tightens the rules for type checking SMV expressions.
1 parent bf112c1 commit c87358a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/smvlang/smv_typecheck.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,9 +1319,6 @@ void smv_typecheckt::convert_expr_to(exprt &expr, const typet &type)
13191319
expr.type() = type;
13201320
return;
13211321
}
1322-
1323-
expr = typecast_exprt{expr, type};
1324-
return;
13251322
}
13261323
else if(type.id() == ID_bool)
13271324
{

0 commit comments

Comments
 (0)