Sign in
apache
/
groovy
/
0b4cb8487bd3da9b9af5d15d0c5bc311b618ad96
/
.
/
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
}
}