From: Jean-Christophe Beaupré Date: Tue, 13 Jun 2017 00:29:06 +0000 (-0400) Subject: modelize_class: Fix the wording of an error message. X-Git-Url: http://nitlanguage.org modelize_class: Fix the wording of an error message. Signed-off-by: Jean-Christophe Beaupré --- diff --git a/src/modelize/modelize_class.nit b/src/modelize/modelize_class.nit index fc3b254..69aea68 100644 --- a/src/modelize/modelize_class.nit +++ b/src/modelize/modelize_class.nit @@ -291,7 +291,7 @@ redef class ModelBuilder ntype, false) if mtype == null then continue # Skip because of error if not mtype isa MClassType then - error(ntype, "Error: supertypes cannot be a formal type.") + error(ntype, "Error: a supertype cannot be a formal type.") continue end var superclass = mtype.mclass