paulk-asert opened a new pull request, #2850:
URL: https://github.com/apache/groovy/pull/2850

   select(boolean...) takes one flag per offer. A disabled offer is not 
registered on its channel and keeps its position, so a guard can be masked off 
without renumbering the branches around it — the guarded ALT of JCSP and GPars. 
Disabling every offer fails the result with IllegalStateException; a flag count 
other than the offer count is an IllegalArgumentException. Result.getChannel() 
names the winning channel so a branch can also be recognised by identity rather 
than position.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to