tests: add libs/*.nit to tests
[nit.git] / src / metamodel / virtualtype.nit
index fa2b2aa..527f20e 100644 (file)
@@ -27,7 +27,7 @@ end
 
 # Virtual type properties
 class MMTypeProperty
-special MMLocalProperty
+       super MMLocalProperty
        # The virtual static type associated
        fun stype_for(recv: MMType): nullable MMVirtualType
        do
@@ -54,7 +54,7 @@ special MMLocalProperty
 end
 
 class MMVirtualType
-special MMTypeFormal
+       super MMTypeFormal
        # The property associed
        readable var _property: MMTypeProperty
 
@@ -68,11 +68,11 @@ special MMTypeFormal
                _recv = recv
        end
 
-       redef fun module do return _recv.module
+       redef fun mmmodule do return _recv.mmmodule
 
        redef fun for_module(mod)
        do
-               if mod == module then return self
+               if mod == mmmodule then return self
                return adapt_to(recv.for_module(mod))
        end