Closed lars-t-hansen closed 7 years ago
@syg, I believe this was fixed?
The current language says:
All agents in an agent cluster share the same candidate execution record in its Agent Record's [[CandidateExecution] field, which is initialized to an empty candidate execution Record.
I didn't think too hard about clarifying further. Though now that I look at it, the "empty candidate execution" definition is missing the initialization of [[EventLists]] for all agents in the agent cluster.
Issue tracked by ecma262.
During execution the [[CandidateExecution]] is immutable, so it's fine for "same" to be a little vague, but really [[CandidateExecution]] has mutable fields during "construction", so it's probably best if this is clarified somehow by stating explicitly that the Agent Record contains a copy or that the Agent Records all carry a reference to the record, not the record itself.