model: bring back call site doc to highlight as `CallSite::mdoc_or_fallback`
[nit.git] / src / semantize / typing.nit
index d5cbb46..fc89e5f 100644 (file)
@@ -785,6 +785,8 @@ class CallSite
        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