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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user