model: select_most_specific behave correctly when given comparable propdefs
authorJean Privat <jean@pryen.org>
Tue, 18 Feb 2014 20:26:59 +0000 (15:26 -0500)
committerJean Privat <jean@pryen.org>
Tue, 18 Feb 2014 20:37:21 +0000 (15:37 -0500)
commit8468d836db8daebb0d262e3875fa455668033a9c
treee4bea032849d6764d475238f76ca232e03dd72a4
parentcc6aa9b247b46db46eb1b3882c4008a6f052ed6d
model: select_most_specific behave correctly when given comparable propdefs

Keep all occurences of comparable but distinct propdefs.
This case should not occurs in sane usage of the function.
But having a good behavior is good nevertheless.

Reported-by: Lucas Bajolet <lucas.bajolet@hotmail.com
Signed-off-by: Jean Privat <jean@pryen.org>
src/model/model.nit