syntax: do not inherit and check all local properties
authorJean Privat <jean@pryen.org>
Fri, 22 Jan 2010 22:11:18 +0000 (17:11 -0500)
committerJean Privat <jean@pryen.org>
Fri, 22 Jan 2010 22:11:18 +0000 (17:11 -0500)
In Nit, the majority of conflicts are silent.

Signed-off-by: Jean Privat <jean@pryen.org>

src/syntax/mmbuilder.nit

index 5d3efc1..6d7c697 100644 (file)
@@ -114,14 +114,6 @@ redef class MMSrcModule
                        c.accept_properties_visitor(mmbv3)
                end
 
-               # Check inherited local properties
-               for c in classes do
-                       for g in c.global_properties do
-                               if visibility_for(g.intro.module) < g.visibility_level then continue
-                               var p = c[g]
-                       end
-               end
-
                tc.check_errors
        end