ballerina-platform / ballerina-spec

Ballerina Language and Platform Specifications
Other
167 stars 53 forks source link

Interaction of wait-action and isolated #1275

Open jclark opened 1 year ago

jclark commented 1 year ago

The spec doesn't have any special isolated analysis rules for wait-action, which leads to seemingly reasonable code being disallowed https://github.com/ballerina-platform/ballerina-lang/issues/41661#issue-1982213751

We should try to improve on this.

jclark commented 1 year ago

See also #1276

jclark commented 1 year ago

I think we probably will want to encourage alternate-receive instead of alternate-wait. If we fix #1276, then I think that should work.