j-easy / easy-rules

The simple, stupid rules engine for Java
https://github.com/j-easy/easy-rules/wiki
MIT License
4.86k stars 1.05k forks source link

Not able to run lambda(java8) statements in latest version? #367

Open shabir1 opened 2 years ago

shabir1 commented 2 years ago

I am not able to run lambda(java8) statements in latest version e.g items.stream().anyMatch(text::contains); Caused by: java.lang.RuntimeException: Malformed expression at org.mvel2.util.ASTBinaryTree.getReturnType(ASTBinaryTree.java:36) at org.mvel2.util.ASTBinaryTree.getReturnType(ASTBinaryTree.java:37) at org.mvel2.util.CompilerTools.getReturnType(CompilerTools.java:363) at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:303) ... 11 more

Process finished with exit code 1