Sign in
apache
/
groovy
/
4ce380cda5b437999726dfd041cb1b0781e91ec9
/
.
/
groovy
/
modules
/
classic
/
src
/
test
/
groovy
/
bugs
/
CallingClosuresWithClosuresBug.groovy
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
}
}