blob: ac08850dc2c95bd6dc1c879cc07c446548edcdd8 [file] [log] [blame]
/**
* @version $Revision$
*/
class CallingClosuresWithClosuresBug extends GroovyTestCase {
void testBug() {
def a = {1}
// old workaround
//def b = {a.call()}
def b = {a()}
def value = b()
assert value == 1
}
}