blob: 21bc8ce5bfe769813e7b11f61416d0d5ca776f70 [file] [log] [blame]
package groovy.bugs
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()
}
}