On 18/07/2013 08:00, Violeta Georgieva wrote: > Hi, > > Let's have a lambda expression: > > x->y->x-y > > Let's now assign it and invoke it indirectly: > > f = x->y->x-y; f(2)(1)
Several problems here. 1. The grammar didn't support functions having multiple sets of parameters. 2. The lambda expression handling in AstFunction only handled single parameters sets. 3. The incMethodParameterIndex() can't be used in this case so an alternative solution is required to the problem that addressed. All of these have been fixed in trunk. There is some more clean-up that can now be done. I look forward to your next brain teaser :) Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org