modelize_class: Remove an unnecessary pre-condition
authorJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Tue, 2 Aug 2016 18:09:49 +0000 (14:09 -0400)
committerJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Tue, 2 Aug 2016 18:09:49 +0000 (14:09 -0400)
`build_classes` calls itself recursively on imported modules. So, there is
no point to specify that imported modules must be processed first.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

src/modelize/modelize_class.nit

index 045e829..73dab5b 100644 (file)
@@ -308,7 +308,6 @@ redef class ModelBuilder
        end
 
        # Build the classes of the module `nmodule`.
-       # REQUIRE: classes of imported modules are already build. (let `phase` do the job)
        private fun build_classes(nmodule: AModule)
        do
                # Force building recursively