From: Florian Deljarry Date: Wed, 6 Nov 2019 19:04:15 +0000 (-0500) Subject: html_model: Remove new_msignature X-Git-Url: http://nitlanguage.org html_model: Remove new_msignature Signed-off-by: Florian Deljarry --- 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