Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
# their introducing definition.
# * `MClassType`s fall back to their wrapped `MClass`.
# * `MVirtualType`s fall back to their wrapped `MProperty`.
+ # * `CallSite` fall back on the wrapped `MProperty`.
# * Other entities do not fall back.
#
# One may use `MDoc::original_mentity` to retrieve the original
fun dump_info(v: ASTDump): String do
return "{recv}.{mpropdef}{msignature}"
end
+
+ redef fun mdoc_or_fallback do return mproperty.intro.mdoc
end
redef class Variable