RIDDL 2.8.5 Released
RIDDL 2.8.5 is now available.
release riddl compiler
RIDDL 2.8.5 is now available. This release of the RIDDL compiler and language tooling includes the following changes:
What’s New
What’s New
Improvements
- A delegating
createno longer draws a false unused-id warning, as long as every sender takes the answer. Since 2.8.4, a creation clause can settleyields Xbycreateing an entity whoseon initpublishes X. Once the clause’s redundantyieldwas deleted, theletbinding the new id was read by nothing, sostmt-initiate-id-unusedfired at every such site. But the id is not lost:on initputsself.idin the creation event, and that event reaches the senders.- When the warning is now exempt: only when every sender of the command has an explicit clause handling the creation event.
- Who counts as a sender: any processor that
sends ortells the command, and also any context whose group input acquires it. on otherdoes not count as handling the event.- When it still fires: the warning now names the senders that lack the clause, or says that nothing sends the command, so the author does not have to find them.
- Unchanged:
createstays a value.
Internal
- Census. On riddl-models with the 2.8.4
yielddeletions applied,stmt-initiate-id-unuseddrops from 43 to 39. Each of the 39 names an application context that issues the creation command from a group input but has no clause for the creation event. - No grammar, BAST or JSON change.
FORMAT_REVISIONstays 39.