fix fuzz result

i returned which is how i normally code but returning doesnt set stuff which made things break here

[]byte("80\x00\x01\x05\x01\x010\x01\x00")
This commit is contained in:
adman
2025-12-25 17:57:59 +01:00
parent b2f882a9ea
commit 6369ed08e2
2 changed files with 13 additions and 6 deletions
+8
View File
@@ -196,6 +196,14 @@ func If(cond ast.Expr, body *ast.BlockStmt) *ast.IfStmt {
}
}
func IfElse(cond ast.Expr, body *ast.BlockStmt, els *ast.BlockStmt) *ast.IfStmt {
return &ast.IfStmt{
Cond: cond,
Body: body,
Else: els,
}
}
func NotEquals(lhs, rhs ast.Expr) *ast.BinaryExpr {
return &ast.BinaryExpr{
X: lhs,