stdlib/strings: Detached the Text block from Collection.
[nit.git] / src / modelize_property.nit
index d946c12..89eb0f3 100644 (file)
@@ -882,6 +882,9 @@ redef class ATypePropdef
 
        redef fun check_signature(modelbuilder, nclassdef)
        do
+               var mpropdef = self.mpropdef
+               if mpropdef == null then return # Error thus skiped
+
                var bound = self.mpropdef.bound
 
                # Fast case: the bound is not a formal type