File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -65,31 +65,6 @@ fn check_stmt_types(
6565 match & tr[ stmt_id] {
6666 Stmt :: Fork => Ok ( ( ) ) ,
6767 Stmt :: Step => Ok ( ( ) ) ,
68- // Stmt::Step(exprid) => {
69- // let expr_type = check_expr_types(tr, st, handler, exprid)?;
70- // if let Type::BitVec(_) = expr_type {
71- // if let Expr::Const(val) = &tr[exprid] {
72- // if val.to_i64().unwrap() >= 1 {
73- // return Ok(());
74- // }
75- // handler.emit_diagnostic_expr(
76- // tr,
77- // exprid,
78- // &format!("Argument to step must be a positive, non-zero integer literal."),
79- // Level::Error,
80- // );
81- // }
82- // Ok(())
83- // } else {
84- // handler.emit_diagnostic_stmt(
85- // tr,
86- // stmt_id,
87- // &format!("Invalid type for [step] statement: {:?}", expr_type),
88- // Level::Error,
89- // );
90- // Ok(())
91- // }
92- // }
9368 Stmt :: Assign ( lhs, rhs) => {
9469 // Function argument cannot be assigned
9570 if tr. args . iter ( ) . any ( |arg| arg. symbol ( ) == * lhs) {
You can’t perform that action at this time.
0 commit comments