Issue Type: Bug Bug
Assignee: Jesse Glick
Components: workflow-plugin
Created: 05/Jan/15 9:29 PM
Description:

The CPS interpreter does not translate calls to .find() , .findAll() default methods correctly.

The following test case fails:

assert evalCPS("[1,2,3].find { it > 1 }") == 2

I see that groovy-cps has an CpsDefaultGroovyMethods class that provides an alternate implementation of each(). Does this mean that all methods that accept a closure as an argument will also fail?

Project: Jenkins
Priority: Major Major
Reporter: Alexander Bertram
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to