From 520c867e2facd8ebc6fe1e9b8e5d048c5c39bd7f Mon Sep 17 00:00:00 2001 From: Florian Deljarry Date: Wed, 6 Nov 2019 14:04:15 -0500 Subject: [PATCH] html_model: Remove new_msignature Signed-off-by: Florian Deljarry --- src/doc/templates/html_model.nit | 4 ---- src/doc/templates/term_model.nit | 3 --- 2 files changed, 7 deletions(-) diff --git a/src/doc/templates/html_model.nit b/src/doc/templates/html_model.nit index 1b86587..90cd190 100644 --- a/src/doc/templates/html_model.nit +++ b/src/doc/templates/html_model.nit @@ -251,10 +251,6 @@ end redef class MMethodDef redef fun html_signature(short) do - var new_msignature = self.new_msignature - if mproperty.is_root_init and new_msignature != null then - return new_msignature.html_signature(short) - end var msignature = self.msignature if msignature == null then return new Template return msignature.html_signature(short) diff --git a/src/doc/templates/term_model.nit b/src/doc/templates/term_model.nit index 55351fb..b33ce7f 100644 --- a/src/doc/templates/term_model.nit +++ b/src/doc/templates/term_model.nit @@ -199,9 +199,6 @@ end redef class MMethodDef redef fun cs_signature(no_color) do - if mproperty.is_root_init then - return new_msignature.as(not null).cs_signature(no_color) - end return msignature.as(not null).cs_signature(no_color) end end -- 1.7.9.5