Skip to content

Commit dd1dd02

Browse files
arnogclaude
andcommitted
test: fix last BUG candidate comment in lambda-capture section 5
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ecc61bf commit dd1dd02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/compute-engine/lambda-capture.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ describe('MUTABLE CLOSURE', () => {
318318

319319
const outerAfter = ce.box('lc_counter').evaluate().valueOf();
320320

321-
// BUG candidate: with lexical scoping outerAfter should be 1 and fromInner should be 1.
321+
// BUG: with lexical scoping outerAfter should be 1 and fromInner should be 1.
322322
// With dynamic scoping fromInner mutates the inner lc_counter → fromInner = 101,
323323
// outerAfter = 0.
324324
expect(fromInner).toMatchInlineSnapshot(`101`); // BUG: dynamic scoping mutates inner lc_counter; should be 1

0 commit comments

Comments
 (0)