fez-lisp 1.6.7 → 1.6.8

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/package.json +1 -1
  2. package/src/check.js +2 -2
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "fez-lisp",
3
3
  "description": "Lisp interpreted & compiled to JavaScript",
4
4
  "author": "AT290690",
5
- "version": "1.6.7",
5
+ "version": "1.6.8",
6
6
  "type": "module",
7
7
  "main": "index.js",
8
8
  "keywords": [
package/src/check.js CHANGED
@@ -1643,8 +1643,8 @@ export const typeCheck = (ast, ctx = SPECIAL_FORM_TYPES) => {
1643
1643
  throw new TypeError(
1644
1644
  `Incorrect type of argument (${i}) for (${
1645
1645
  first[VALUE]
1646
- }). Expected (${toTypeNames(
1647
- args[i][STATS][TYPE_PROP][0]
1646
+ }). Expected (${formatSubType(
1647
+ getTypes(args[i][STATS])
1648
1648
  )}) but got (${toTypeNames(
1649
1649
  rest[i][TYPE]
1650
1650
  )}) (${stringifyArgs(exp)}) (check #2)`