diff --git a/src/main/java/org/biscuitsec/biscuit/token/builder/parser/ExpressionParser.java b/src/main/java/org/biscuitsec/biscuit/token/builder/parser/ExpressionParser.java index b333d6dd..b5028709 100644 --- a/src/main/java/org/biscuitsec/biscuit/token/builder/parser/ExpressionParser.java +++ b/src/main/java/org/biscuitsec/biscuit/token/builder/parser/ExpressionParser.java @@ -128,7 +128,7 @@ public static Either> expr2(String s) { Either> res2 = binary_op2(s); if (res2.isLeft()) { - return Either.left(res2.getLeft()); + return Either.right(t1); } Tuple2 t2 = res2.get();