model: MParameterType.resolve_for handle the case of primitive bounds
[nit.git] / src / model / mmodule.nit
index 18e835d..648eb49 100644 (file)
@@ -72,7 +72,7 @@ class MModule
        super MConcern
 
        # The model considered
-       var model: Model
+       redef var model: Model
 
        # placebo for old module nesting hierarchy
        # return null if self is not nested (ie. is a top-level module)
@@ -222,5 +222,10 @@ class MModule
                end
        end
 
+       # Is the mmodule created for internal purpose?
+       # Fictive module are instantied internally but they should not be
+       # exposed to the final user
+       var is_fictive: Bool writable = false
+
        redef fun parent_concern do return mgroup
 end