greybel-interpreter 1.5.6 → 1.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/context.js +2 -2
  2. package/package.json +1 -1
package/dist/context.js CHANGED
@@ -288,8 +288,8 @@ class OperationContext {
288
288
  cps: this.cps,
289
289
  processState: this.processState
290
290
  });
291
- if (this.type !== ContextType.Function) {
292
- if (this.type !== ContextType.Loop) {
291
+ if (options.type !== ContextType.Function) {
292
+ if (options.type !== ContextType.Loop) {
293
293
  newContext.loopState = this.loopState;
294
294
  }
295
295
  newContext.functionState = this.functionState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "greybel-interpreter",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
4
4
  "description": "Interpreter",
5
5
  "main": "dist/index",
6
6
  "typings": "dist/index",