Merge: modelize_class: Remove an unnecessary pre-condition
authorJean Privat <jean@pryen.org>
Mon, 8 Aug 2016 14:35:00 +0000 (10:35 -0400)
committerJean Privat <jean@pryen.org>
Mon, 8 Aug 2016 14:35:00 +0000 (10:35 -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>

Pull-Request: #2233
Reviewed-by: Jean Privat <jean@pryen.org>

src/modelize/modelize_class.nit

index 091ec2d..e36a3ae 100644 (file)
@@ -303,7 +303,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