Merge: nitc: fix some broken case in equal_test
authorJean Privat <jean@pryen.org>
Tue, 22 Sep 2015 19:41:23 +0000 (15:41 -0400)
committerJean Privat <jean@pryen.org>
Tue, 22 Sep 2015 19:41:23 +0000 (15:41 -0400)
commit2b444105cf52cecc254ce225dd85b07f5d8a650f
tree62cac0a953a38134c971578b30eb4bfd9ed12cdb
parentc5c30207f7ed23b4fa567cf850dc3d6d5b1892ea
parentf976d1a9f3282e86a4b34212567188298d502f31
Merge: nitc: fix some broken case in equal_test

The code that handle the various cases of comparison when one of the two types is primitive was broken in the specific sub-case of comparison between something tagged and something boxed.
The fact that this code date back from before tagging explain that, but the fact that the bug was discovered only now is more mysterious.

Reported-by: Lucas Bajolet <r4pass@hotmail.com>

Pull-Request: #1729
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>