James Clark
James Clark
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.
We know that the value returned by a receive is an isolated root, because the value was cloned before it was sent. This means that at least a single-receive-action should...
Use `error` to mean an error, where the exact type of error is to be inferred (as with var). This is useful with workers where the rules on error propagation...
This would be a tagged data type (like regexp), so that it can be serialized as a string in JSON. Relates to #1098. Probably `url` is the right tag. From...
> `xyz` NR means the characters **xyz** literally, and **xyz** is not a reserved keyword Does this means we can use `xyz` anywhere as an identifier? i.e. even within the...
Issue #1136 deals with keywords that start query clauses but are not used elsewhere. There are also keywords used in query clauses other than at the start: - `equals` in...
Currently the spec handles unions in the contextually expected type for mapping and list constructors, but not intersections. The cloneWithType/fromJsonWithType functions work similarly to constructors and should also be able...
When a function is expected to be called dynamically, sometimes you want to type parameters covariantly. We don't have any way to do this currently. This could happen with callbacks...
The spec doesn't get into the details of what keywords are reserved in what contexts. We have a lot of keywords and they shouldn't be reserved everywhere.
Library modules should in most cases declare all their functions as isolated. This requires library authors to individually declare every function as isolated, which is tedious.