fez-lisp 1.2.53 → 1.2.55
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/lib/baked/std.js +1 -1
- package/package.json +1 -1
- package/src/interpreter.js +1 -1
- package/src/utils.js +0 -14
package/package.json
CHANGED
package/src/interpreter.js
CHANGED
@@ -233,7 +233,7 @@ export const keywords = {
|
|
233
233
|
throw new RangeError(
|
234
234
|
`Incorrect number of arguments for (${
|
235
235
|
KEYWORDS.ANONYMOUS_FUNCTION
|
236
|
-
} ${params
|
236
|
+
} ${stringifyArgs(params)}) are provided. (expects ${
|
237
237
|
params.length
|
238
238
|
} but got ${props.length}) (${
|
239
239
|
KEYWORDS.ANONYMOUS_FUNCTION
|
package/src/utils.js
CHANGED
@@ -406,20 +406,6 @@ export const deSuggar = (ast) => {
|
|
406
406
|
}
|
407
407
|
}
|
408
408
|
break
|
409
|
-
// case KEYWORDS.DEFINE_VARIABLE:
|
410
|
-
// {
|
411
|
-
// if (
|
412
|
-
// rest[1] &&
|
413
|
-
// rest[1][0] &&
|
414
|
-
// rest[1][0][TYPE] === APPLY &&
|
415
|
-
// rest[1][0][VALUE] === KEYWORDS.BLOCK
|
416
|
-
// ) {
|
417
|
-
// throw new SyntaxError(
|
418
|
-
// `Can't use (${KEYWORDS.BLOCK}) in (${KEYWORDS.DEFINE_VARIABLE})`
|
419
|
-
// )
|
420
|
-
// }
|
421
|
-
// }
|
422
|
-
// break
|
423
409
|
case SUGGAR.PIPE:
|
424
410
|
{
|
425
411
|
if (rest.length < 1)
|