Fix transl mode calculations involving mode boolean
commit91a8a54170025ee7f9449a3c864453c663994e33
authorKris Katterjohn <katterjohn@gmail.com>
Sun, 13 Nov 2022 01:39:08 +0000 (12 20:39 -0500)
committerKris Katterjohn <katterjohn@gmail.com>
Sun, 13 Nov 2022 01:39:08 +0000 (12 20:39 -0500)
treea7e514c6221bd09f4edd1f84a8260abb3ab44090
parentb503f4d054cf3af8c2183af9c92b67522ca28996
Fix transl mode calculations involving mode boolean

*UNION-MODE was not handling boolean correctly, so it was easy to
get lisp errors:

(%i1) foo () := 1.0 + if false then 1.0$

(%i2) translate (foo)$

(%i3) foo ();
<lisp error>

No problems with the test suite, share test suite or rtest_translator.
New tests have been added to rtest_translator.
src/transl.lisp
tests/rtest_translator.mac