ref(ClavaAst): Tighten type on DoStmt::getCondition
@@ -31,8 +31,8 @@ public class DoStmt extends LoopStmt {
return Optional.of(getCondition());
}
- public Stmt getCondition() {
- return getChild(Stmt.class, 1);
+ public ExprStmt getCondition() {
+ return getChild(ExprStmt.class, 1);
}
@Override
