nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
highlight: fix broken support for `MVirtualType`
[nit.git]
/
src
/
highlight.nit
diff --git
a/src/highlight.nit
b/src/highlight.nit
index
cf7c598
..
5141fbe
100644
(file)
--- 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
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)
add_doc_to_infobox(res)
- if mdoc != null then mdoc.fill_infobox(res)
return res
end
redef fun linkto(v)
return res
end
redef fun linkto(v)