Merge: model: fix `try_get_primitive_method`
authorJean Privat <jean@pryen.org>
Wed, 25 Nov 2015 19:22:51 +0000 (14:22 -0500)
committerJean Privat <jean@pryen.org>
Wed, 25 Nov 2015 19:22:51 +0000 (14:22 -0500)
The implementation was an old code that did not use modern facilities,
moreover it was broken anyway.

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

Pull-Request: #1844
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Romain Chanoir <romain.chanoir@viacesi.fr>


Trivial merge