model: use MPROPDEF instead of MPropDef
authorJean Privat <jean@pryen.org>
Tue, 1 May 2012 18:24:04 +0000 (14:24 -0400)
committerJean Privat <jean@pryen.org>
Wed, 2 May 2012 15:44:13 +0000 (11:44 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/model/model.nit

index 0fb91ac..15bd1f4 100644 (file)
@@ -1287,7 +1287,7 @@ abstract class MProperty
                return res
        end
 
                return res
        end
 
-       private var lookup_definitions_cache: HashMap2[MModule, MType, Array[MPropDef]] = new HashMap2[MModule, MType, Array[MPropDef]]
+       private var lookup_definitions_cache: HashMap2[MModule, MType, Array[MPROPDEF]] = new HashMap2[MModule, MType, Array[MPROPDEF]]
 
        # Return the most specific property definitions inherited by a type.
        # The selection knows that refinement is stronger than specialization;
 
        # Return the most specific property definitions inherited by a type.
        # The selection knows that refinement is stronger than specialization;