nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddc79a0
)
model: implements MType::name
author
Alexandre Terrasa
<alexandre@moz-code.org>
Sun, 20 Jul 2014 16:37:09 +0000
(12:37 -0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Sun, 20 Jul 2014 16:37:09 +0000
(12:37 -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
7481338
..
6736df9
100644
(file)
--- a/
src/model/model.nit
+++ b/
src/model/model.nit
@@
-587,6
+587,7
@@
end
abstract class MType
super MEntity
+ redef fun name do return to_s
# The model of the type
fun model: Model is abstract