diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/data/things/composite.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/data/things/composite.js b/src/data/things/composite.js index da2848f8..c0f0ab0b 100644 --- a/src/data/things/composite.js +++ b/src/data/things/composite.js @@ -752,6 +752,9 @@ export function templateCompositeFrom(description) { templateCompositeFrom.symbol = Symbol(); +export const continuationSymbol = Symbol.for('compositeFrom: continuation symbol'); +export const noTransformSymbol = Symbol.for('compositeFrom: no-transform symbol'); + export function compositeFrom(description) { const {annotation} = description; @@ -1070,9 +1073,6 @@ export function compositeFrom(description) { return {continuation, continuationStorage}; } - const continuationSymbol = Symbol.for('compositeFrom: continuation symbol'); - const noTransformSymbol = Symbol.for('compositeFrom: no-transform symbol'); - function _computeOrTransform(initialValue, continuationIfApplicable, initialDependencies) { const expectingTransform = initialValue !== noTransformSymbol; |