X-Git-Url: http://nitlanguage.org diff --git a/src/uml/uml_class.nit b/src/uml/uml_class.nit index 79865aa..aa93740 100644 --- a/src/uml/uml_class.nit +++ b/src/uml/uml_class.nit @@ -44,7 +44,7 @@ end redef class Model # Generates a UML Class diagram from the entities of a `Model` - fun tpl_class(ctx: ToolContext, main: MModule): Writable do + redef fun tpl_class(ctx, main) do var t = new Template for i in mclasses do if not ctx.private_gen and i.visibility != public_visibility then continue @@ -63,7 +63,7 @@ end redef class MClass - redef fun tpl_class(ctx, main): Writable do + redef fun tpl_class(ctx, main) do var t = new Template t.add "{name} [\n label = \"\{" if kind == abstract_kind then