From: Alexis Laferrière Date: Sat, 6 May 2017 19:29:27 +0000 (-0400) Subject: highlight: fix broken support for `MVirtualType` X-Git-Url: http://nitlanguage.org highlight: fix broken support for `MVirtualType` Signed-off-by: Alexis Laferrière --- diff --git a/src/highlight.nit b/src/highlight.nit index cf7c598..5141fbe 100644 --- a/src/highlight.nit +++ b/src/highlight.nit @@ -551,8 +551,8 @@ redef class MVirtualType var res = new HInfoBox(v, to_s) res.href = v.hrefto(mproperty) var p = mproperty + res.new_field("virtual type").add p.intro.linkto(v) add_doc_to_infobox(res) - if mdoc != null then mdoc.fill_infobox(res) return res end redef fun linkto(v)