fez-lisp 1.5.44 → 1.5.45

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/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.5.44",
5
+ "version": "1.5.45",
6
6
  "type": "module",
7
7
  "main": "index.js",
8
8
  "keywords": [
package/src/check.js CHANGED
@@ -541,6 +541,7 @@ export const typeCheck = (ast) => {
541
541
  case KEYWORDS.IF:
542
542
  {
543
543
  const re = rem.slice(2)
544
+ // If either is an ATOM then IF returns an ATOM
544
545
  if (re[0][TYPE] === ATOM || re[1][TYPE] === ATOM) {
545
546
  env[name][STATS][prop] = ATOM
546
547
  // if (