@override void visitIfStmt(Stmt.If stmt) { resolveExpr(stmt.condition); resolveStmt(stmt.thenBranch); if (stmt.elseBranch != null) { resolveStmt(stmt.elseBranch!); } return; }