nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
598bac1
)
src/model: fix mdoc_or_fallback for MClasses and MProperties
author
Alexandre Terrasa
<alexandre@moz-code.org>
Wed, 25 May 2016 02:56:27 +0000
(22:56 -0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Wed, 25 May 2016 03:33:43 +0000
(23:33 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
src/model/model.nit
patch
|
blob
|
history
diff --git
a/src/model/model.nit
b/src/model/model.nit
index
9aefe19
..
3d9a364
100644
(file)
--- a/
src/model/model.nit
+++ b/
src/model/model.nit
@@
-555,6
+555,8
@@
class MClass
# Is `self` and abstract class?
var is_abstract: Bool is lazy do return kind == abstract_kind
+
+ redef fun mdoc_or_fallback do return intro.mdoc_or_fallback
end
@@
-1963,6
+1965,8
@@
abstract class MProperty
redef var location
+ redef fun mdoc_or_fallback do return intro.mdoc_or_fallback
+
# The canonical name of the property.
#
# It is currently the short-`name` prefixed by the short-name of the class and the full-name of the module.