spockframework/spock — pull request #31 by daviddawson (2013-12-28 21:31:16+00:00)
Title: [ISSUE-274] Closure used as data value in where-block can't be called with method syntax

Apply fix to AST in DeepBlockRewriter to detect whether a method in the expect would be expected to be using one of the implied params from where: and create that link.