nitg-s: allocate HashSet[MType] for conflicts_graph_cache
authorJean Privat <jean@pryen.org>
Sat, 8 Dec 2012 03:05:27 +0000 (22:05 -0500)
committerJean Privat <jean@pryen.org>
Sat, 8 Dec 2012 03:05:27 +0000 (22:05 -0500)
commit3904f02d8155e0ee0cc6003e24a98c1ec79c6d15
tree2bbc488b4b473c8abd625b238619d6da50021702
parente9575f968c07a8ffb482aca029d9525dfc167f6e
nitg-s: allocate HashSet[MType] for conflicts_graph_cache

A covariant cast error is raised by non-buggy engines when
a MNullableType object is added into a Set[MType] that is
dynamically a HashSet[MClassType].

Instantiate HashSet[MType] instead of HashSet[MClassType] remove
the cast error.

Signed-off-by: Jean Privat <jean@pryen.org>
src/coloring.nit