On 17/07/2013 21:10, Mark Thomas wrote: > On 17/07/2013 20:12, Mark Thomas wrote: >> On 17/07/2013 19:17, Violeta Georgieva wrote: > >>> Why it is expected that (()->y->()->x->x-y)()(1)()(2) should throw >>> ELException? (TestAstLambdaExpression.testNested04()) >>> Isn't it a correct one? >> >> That is a copy and paste error that is masking at least two bugs. I've >> fixed one bug and am trying to track down why this expression won't >> evaluate. >> >> I need to look at your proposal above again. > > I added some debug code that helped track down what is going on. > > I've fixed that issue but I'm fairly sure the logic could be clarified. > I'm planning on looking at that next.
As I was writing the comments for the simpler code, I realised there was still a way to break it. I added to test case to prove that and then fixed the evaluation again. At the moment I think lambda expressions are working correctly but to be frank I'm just waiting for someone to find the next tricky nested expression that breaks things again. Violeta, over to you :) Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org