nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9ed786
)
model: fix mdoc_or_fallback for nullables types
author
Alexandre Terrasa
<alexandre@moz-code.org>
Wed, 25 Oct 2017 19:00:28 +0000
(15:00 -0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Fri, 8 Dec 2017 19:58:29 +0000
(14:58 -0500)
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
3ceb9f3
..
c86bf96
100644
(file)
--- a/
src/model/model.nit
+++ b/
src/model/model.nit
@@
-1803,6
+1803,8
@@
class MNullableType
if t == mtype then return self
return t.as_nullable
end
+
+ redef fun mdoc_or_fallback do return mtype.mdoc_or_fallback
end
# A non-null version of a formal type.