nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
187efcb
)
highlight: fix broken support for `MVirtualType`
author
Alexis Laferrière
<alexis.laf@xymus.net>
Sat, 6 May 2017 19:29:27 +0000
(15:29 -0400)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Sun, 7 May 2017 17:28:34 +0000
(13:28 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
src/highlight.nit
patch
|
blob
|
history
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
+ 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)