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