|
1 | 1 | /** |
2 | 2 | * Shared assertion logic for the unused-live-binding shape of the cyclic |
3 | | - * star-export with renaming reexport regression (endojs/endo#59). This is |
4 | | - * the companion to the populated shape exercised by |
5 | | - * `_cycle-rename-assertions.js`; the only difference is that the renamer's |
6 | | - * `export var y` here has no initializer, so the live binding is declared |
7 | | - * but never updated. Every projection of the cycle therefore reads |
8 | | - * `undefined`. Both the Node.js parity test and the Compartment Mapper test |
9 | | - * import from this module so the expected values live in exactly one place; |
10 | | - * if both tests pass, parity with Node.js is verified by construction. |
| 3 | + * star-export with renaming reexport regression. This is the companion to |
| 4 | + * the populated shape exercised by `_cycle-rename-assertions.js`; the only |
| 5 | + * difference is that the renamer's `export var y` here has no initializer, |
| 6 | + * so the live binding is declared but never updated. Every projection of the |
| 7 | + * cycle therefore reads `undefined`. Both the Node.js parity test and the |
| 8 | + * Compartment Mapper test import from this module so the expected values |
| 9 | + * live in exactly one place; if both tests pass, parity with Node.js is |
| 10 | + * verified by construction. |
11 | 11 | * |
12 | 12 | * The fixture under fixtures-cycle-rename-unused/node_modules/app/ exercises |
13 | 13 | * this arrangement: |
|
22 | 22 | * export const namespace1 = { x: ns1.x, y: ns1.y }; |
23 | 23 | * export const namespace2 = { x: ns2.x, y: ns2.y }; |
24 | 24 | * |
25 | | - * The deferring closure introduced by the issue #59 fix queues subscribers |
26 | | - * until the upstream notifier resolves, then forwards them. With no |
27 | | - * initializer the upstream's value never updates, so every read is |
| 25 | + * The deferring closure introduced by the cyclic-star-export fix queues |
| 26 | + * subscribers until the upstream notifier resolves, then forwards them. |
| 27 | + * With no initializer the upstream's value never updates, so every read is |
28 | 28 | * `undefined`. Node.js exhibits the same shape, so the parity test pins |
29 | 29 | * both layers to a single expected projection. |
30 | 30 | * |
|
0 commit comments