Merge: new class MErrorType to handle buggy types
authorJean Privat <jean@pryen.org>
Tue, 9 Aug 2016 23:46:26 +0000 (19:46 -0400)
committerJean Privat <jean@pryen.org>
Tue, 9 Aug 2016 23:46:26 +0000 (19:46 -0400)
This is a small cleanup of some part of the code of the model.
The main improvement is the addition of a `MErrorType` class and two somewhat related services `MType::is_ok` and `MType::is_legal_in`.

Beside a better model and better services, this changeset clean the quickfix introduced in RTA (see #2245 )
There should be no change in the overall performance.

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


Trivial merge