fez-lisp 1.5.44 → 1.5.46

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.
package/src/macros.js CHANGED
@@ -92,17 +92,15 @@ export const deSuggarAst = (ast, scope) => {
92
92
  case KEYWORDS.BLOCK:
93
93
  {
94
94
  if (
95
- prev == undefined ||
96
- (prev &&
97
- prev[TYPE] === APPLY &&
98
- prev[VALUE] !== KEYWORDS.ANONYMOUS_FUNCTION)
95
+ prev &&
96
+ prev[TYPE] === APPLY &&
97
+ prev[VALUE] !== KEYWORDS.ANONYMOUS_FUNCTION
99
98
  ) {
100
99
  exp[0][VALUE] = KEYWORDS.CALL_FUNCTION
101
100
  exp[0][TYPE] = APPLY
102
101
  exp.length = 1
103
102
  scope = [[APPLY, KEYWORDS.BLOCK], ...rest]
104
103
  exp[1] = [[APPLY, KEYWORDS.ANONYMOUS_FUNCTION], scope]
105
-
106
104
  deSuggarAst(exp, scope)
107
105
  } else {
108
106
  scope = exp
@@ -851,6 +849,7 @@ const iron = (scope) => {
851
849
  copy.push(scope[i])
852
850
  }
853
851
  }
852
+
854
853
  for (let i = 0; i < copy.length; ++i) scope[i] = copy[i]
855
854
  }
856
855
  }