ni_nitdoc: remove useless full_propdef_semantic_analysis call
authorAlexandre Terrasa <alexandre@moz-code.org>
Mon, 29 Jul 2013 14:49:48 +0000 (10:49 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Mon, 29 Jul 2013 14:49:48 +0000 (10:49 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

src/model_utils.nit
src/ni.nit
src/ni_nitdoc.nit

index 0d5b754..8970316 100644 (file)
@@ -17,8 +17,7 @@
 # Model exploration and traversing facilities
 module model_utils
 
-import toolcontext
-import exprbuilder
+import modelbuilder
 
 redef class MModule
        # Get the list of mclasses refined in 'self'.
index d860f39..8af4a89 100644 (file)
@@ -52,7 +52,6 @@ class NitIndex
                #var mmodules = modelbuilder.parse_and_build(["{dir}/lib/standard/standard.nit"])
                var mmodules = mbuilder.parse_and_build([arguments.first])
                if mmodules.is_empty then return
-               mbuilder.full_propdef_semantic_analysis
                assert mmodules.length == 1
                self.mainmodule = mmodules.first
        end
index dcf317f..1722a9c 100644 (file)
@@ -69,7 +69,6 @@ class NitdocContext
                mbuilder = new ModelBuilder(model, self)
                # Here we load an process all modules passed on the command line
                var mmodules = mbuilder.parse_and_build(arguments)
-               mbuilder.full_propdef_semantic_analysis
                if mmodules.is_empty then return
 
                if mmodules.length == 1 then