|
RE: Return from the Closure: msg#00090lang.groovy.user
Hello, >I find when to be return from the Closure, it actually break the loop, >and can't return from the method. I think this not like usual habit, >please provide the opinion Well, currently, we don't return from the method. We just return from the closure. There are discussions on that topic on the JSR, and we will certainly implement the desired behaviour. But for the moment, it's not the case. -- Guillaume Laforge http://glaforge.free.fr/weblog
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Return from the Closure, 任立新 |
|---|---|
| Next by Date: | calling method with List in signature, Randy Thornton |
| Previous by Thread: | Return from the Closure, 任立新 |
| Next by Thread: | calling method with List in signature, Randy Thornton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |