Merge branch 'll-and-gg-operators' into wip
[nit.git] / src / primitive_info.nit
index 41e0cab..262228f 100644 (file)
@@ -44,8 +44,8 @@ redef class MMLocalClass
                var i = ctypes.iterator
                while i.is_ok do
                        var n = i.key
-                       if module.has_global_class_named(n) then
-                               var c = module.class_by_name(n)
+                       if mmmodule.has_global_class_named(n) then
+                               var c = mmmodule.class_by_name(n)
                                if cshe < c then
                                        _primitive_info_cache = i.item
                                        _primitive_info_b = true