Sign in
apache
/
groovy
/
refs/tags/GROOVY_1_0
/
.
/
groovy-core
/
src
/
test
/
groovy
/
bugs
/
ClosureWithBitwiseDefaultParamTest.groovy
blob: 65e2806cedfb0783f4946c27e1e42b6588007cae [
file
] [
log
] [
blame
]
class
ClosureWithBitwiseDefaultParamTest
extends
GroovyTestCase
{
void
testAmbiguousStuff
()
{
def
c
=
{
x
,
y
=
1
|
2
,
z
=
0
->
println x
println y
println z
}
// now lets invoke c
// TODO when closures support default parameters
//c.call()
}
}