groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MG <>
Subject break/return/continue support in "Appended Block Closures" finally completed
Date Sat, 18 Nov 2017 20:53:44 GMT

I finally updated the incomplete Jira issue I created on supporting 
break/return/continue inside of closures:

(What stopped me initially was that when thinking about the two known 
approaches (using return or try-catch) - and how the both bend Closure 
semantics close to breaking point - I realized that support for inlining 
closures would trivially introduce break/return/continue support - and a 
bit later I saw that what I had thought about was exactly the way Kotlin 
does it...).


View raw message