X-Git-Url: http://nitlanguage.org diff --git a/src/model/model.nit b/src/model/model.nit index fe4eade..a0f8c43 100644 --- a/src/model/model.nit +++ b/src/model/model.nit @@ -217,8 +217,7 @@ redef class MModule private var object_type_cache: nullable MClassType # The type `Pointer`, super class to all extern classes - fun pointer_type: MClassType - is cached do return self.get_primitive_class("Pointer").mclass_type + var pointer_type: MClassType = self.get_primitive_class("Pointer").mclass_type is lazy # The primitive type `Bool` fun bool_type: MClassType