Skip to content

Commit fc574e5

Browse files
committed
Scope issue
1 parent 47556fa commit fc574e5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

spec/Section 6 -- Execution.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ initialStreams, variableValues):
198198
- If {remainingDefers} is not empty:
199199
- Let {pendingDefer} be the first entry in {remainingDefers}.
200200
- Remove {pendingDefer} from {remainingDefers}.
201-
- Let {id} be the value for key {id} in {pendingDefer}.
201+
- Let {thisId} be the value for key {id} in {pendingDefer}.
202202
- Let {defers} be the value for key {defers} in {pendingDefer}.
203203
- Let {batchIncremental} be an empty list.
204204
- Let {batchErrors} be an empty list.
@@ -248,13 +248,14 @@ initialStreams, variableValues):
248248
- Let {pendingStream} be an unordered map containing {id},
249249
{streamDetails}.
250250
- Add {pendingStream} to {remainingStreams}.
251-
- Add to {completed} an unordered map containing {id}.
251+
- Add to {completed} an unordered map containing key {id} with value
252+
{thisId}.
252253
- Optionally, {FlushStream()}.
253254
- Else:
254255
- Assert: {remainingStreams} is not empty.
255256
- Let {pendingStream} be the first entry in {remainingStreams}.
256257
- Remove {pendingStream} from {remainingStreams}.
257-
- Let {id} be the value for key {id} in {pendingStream}.
258+
- Let {thisId} be the value for key {id} in {pendingStream}.
258259
- Let {streamDetails} be the value for key {streamDetails} in
259260
{pendingStream}.
260261
- Let {parentPath} be the value for key {path} in {streamDetails}.
@@ -295,7 +296,8 @@ initialStreams, variableValues):
295296
- Let {pendingStream} be an unordered map containing {id},
296297
{streamDetails}.
297298
- Add {pendingStream} to {remainingStreams}.
298-
- Add to {completed} an unordered map containing {id}.
299+
- Add to {completed} an unordered map containing key {id} with value
300+
{thisId}.
299301
- Optionally, {FlushStream()}.
300302
- {FlushStream(false)}.
301303
- Complete {responseStream}.

0 commit comments

Comments
 (0)