IoLanguage / io

Io programming language. Inspired by Self, Smalltalk and LISP.
http://iolanguage.org
Other
2.67k stars 299 forks source link

Fix for issue #455 #458

Closed nhasabni closed 3 years ago

nhasabni commented 3 years ago

Rewrote UArray comparison functions to use boolean type instead of int type to resolve any ambiguity. Modified signatures of the corresponding functions.

Ran tests and checked that they pass:

$ LD_LIBRARY_PATH=`pwd`/install/lib/ ../install/bin/io
../libs/iovm/tests/correctness/run.io
......................................................................
......................................................................
......................................................................
....................
----------------------------------------------------------------------
Ran 230 tests in 3.0030000000000001s

OK                                                                 run
ales-tsurko commented 3 years ago

It fails on format check. Please, run clang-format against it.

It also fails on windows, but I can't say whether it introduced by your changes. Could you check, please?