blob: dcdd127ed17d92dd9ac0e876909320a34750b634 [file] [log] [blame]
class C {
def clos = { Map attrs -> print attrs.p }
def foo() {
clos(p: 1)
clos.call(p: 2)
getClos()(p: 3)
getClos().call(p: 4)
}
}
def c = new C()
c.clos(p: 5)
c.clos.call(p: 6)
c.getClos()(p: 7)
c.getClos().call(p: 8)